Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/prank/-RD-YT-Tripwire/ReadMe.md
2968 views

Logo

YouTube Tripwire

Plays any YouTube video after a mouse movement is detected

Description

This script is a one liner that can fit in the runbox by itself Just replace the URL for the Youtube video and run it You can now unplug your device and walk away When your target returns and moves their mouse the video will start playing full screen

Getting Started

Dependencies

  • An internet connection

  • Windows 10,11

Executing program

  • Plug in your device

  • Walk away

  • You can run the example snippet below and it will open up a video covering one of my other payloads

powershell -w h Add-Type -AssemblyName *m.W*s.F*s;$w=[Windows.Forms.Cursor];$p=$w::Position.X;while(1){if($w::Position.X-ne$p){break}else{Sleep 3}};saps https://youtu.be/sOLIdqpzrW4;sleep 3;$o=New-Object -ComObject WScript.Shell;$o.SendKeys('f')

Contributing

All contributors names will be listed here

I am Jakoby

Version History

  • 0.1

    • Initial Release

Contact

📱 My Socials 📱

C#
YouTube
Python
Twitter
Golang
Instagram
Jsonnet
Discord

Acknowledgments

Github Stats