Skip to content

Instantly share code, notes, and snippets.

@kaftejiman
Created February 15, 2021 00:43
Show Gist options
  • Save kaftejiman/ce1b468def222bfdaef712c0d4668137 to your computer and use it in GitHub Desktop.
Save kaftejiman/ce1b468def222bfdaef712c0d4668137 to your computer and use it in GitHub Desktop.
pimp my exploit *recommended for you, yes you*
  1. Create this file speak.bat (this example is on windows, change accordingly in your OS)
@echo off
setlocal
for /F "tokens=*" %%a in ('more') do (
        PowerShell -Command "Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('"%%a"');"
        PowerShell -Command "Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('haxored! haxored! haxored! haxored! haxored! haxored!');"
)
  1. Add said created file to your PATH.
  2. In your next solver/exploit during CTF/else? redirect output to the said program
C:\Users\kaftejiman\tools
λ python solver.py | speak
  1. ???
  2. Profit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment