Jump to content

[PAYLOAD] UnifiedRickRollWindows


jafahulo
 Share

Recommended Posts

2 hours ago, Bryfi said:

Looks like an amazing script! How is the time configuration setting used? 1051 doesn't really say anything in time for me.

ahh yes, my bad. I'll update that. The format for the time goes like this: How many hours have passed since midnight + how many minutes have passed since that hour started.

 

As an example: 1:39am would be 139, 1:39pm would be 1339 (it's in 24 hour format, not 12), 5:03pm would be 173, and 5:02am would be 52.

 

This is kinda confusing at first, but if you tinker with it for a couple minutes, it's pretty easy to figure out. Additionally, you can run this in any powershell window, and it will set the current time in that format to $time:

$time=(Get-Date).Hour.toString()+(Get-Date).Minute.toString()

 

Let me know if you have anymore questions!

Edited by jafahulo
Link to comment
Share on other sites

1 hour ago, zarbam said:

Is there a way to cancel this script from running before the time specified?

Are you asking if there's a way to stop the prank from being pulled after you started it on a computer?

If so, you can go to the task manager, and look for the power-shell processes towards the bottom of the list. It's hard to tell which power-shell process is the prank, but if you know that the victim doesn't use power-shell for anything, just kill them all the ones you see.

Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...

It doesn't seem to work for me. I'm trying to get it to run at 4:20 PM.

Here is my code (converted to duckyscript):

REM Rick Roll at specific time of day
REM Set time according to:
REM https://github.com/hak5/bashbunny-payloads/blob/master/payloads/library/prank/UnifiedRickRollWindows/README.md
GUI r
DELAY 200
STRING cmd -A '/t:fe /k mode con: lines=1 cols=15'
DELAY 200
ENTER
DELAY 500
STRING powershell -NoP -NonI -W Hidden -Exec Bypass  \$hi=0\; \$ho=\(Get-Date\).Hour.toString\(\)\; while \(\$hi -eq \'0\'\) \{ if \(\$ho -eq 1620 \) \{\$vol=new-object -com wscript.shell\; For\(\$i=0\; \$i -le 50\; \$i\+\+\)\{\$vol.SendKeys\(\[char\]175\)\}\; start \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\" \; \$hi=1\; \} \$ho=\(Get-Date\).Hour.toString\(\)\+\(Get-Date\).Minute.toString\(\)\;\}
DELAY 500
ENTER
GUI r
DELAY 1000
STRING powershell -WindowStyle Hidden -Exec Bypass "Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU' -Name '*' -ErrorAction SilentlyContinue"
ENTER

 

Link to comment
Share on other sites

  • 10 months later...
  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...