Hamza-Megahed / binary2shellcode

binary to shellcode converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

    888888b.   d8b                                          .d8888b.  
    888  "88b  Y8P                                         d88P  Y88b 
    888  .88P                                                     888 
    8888888K.  888 88888b.   8888b.  888d888 888  888           .d88P 
    888  "Y88b 888 888 "88b     "88b 888P"   888  888       .od888P"  
    888    888 888 888  888 .d888888 888     888  888      d88P"      
    888   d88P 888 888  888 888  888 888     Y88b 888      888"       
    8888888P"  888 888  888 "Y888888 888      "Y88888      888888888  
                                                  888                 
                                             Y8b d88P                 
                                              "Y88P"                  
 .d8888b.  888               888 888                       888          
d88P  Y88b 888               888 888                       888          
Y88b.      888               888 888                       888          
 "Y888b.   88888b.   .d88b.  888 888  .d8888b .d88b.   .d88888  .d88b.  
    "Y88b. 888 "88b d8P  Y8b 888 888 d88P"   d88""88b d88" 888 d8P  Y8b 
      "888 888  888 88888888 888 888 888     888  888 888  888 88888888 
Y88b  d88P 888  888 Y8b.     888 888 Y88b.   Y88..88P Y88b 888 Y8b.     
 "Y8888P"  888  888  "Y8888  888 888  "Y8888P "Y88P"   "Y88888  "Y8888  
                                                                        
                                                                        
                                                                        
----------------
Binary2Shellcode:
----------------


introduction :

  Binary2shellcode is a converter from binary to shellcode and gets the size of shellcode in bytes.    
  Works under Linux and Unix only.


Build & Run :

    To Build and run binary2shellcode  
	 
	Build binary2shellcode via make file 
		a- cd Debug/
		b- sudo make 
		c- bin2shell ---> to run the application.

Usage :

	bin2shell BinaryFileName 


Example :

	$bin2shell execveShellcode




        ////////////////////////////////////////////////////
        ///////// Binary to Shellcode Converter ////////////
        ////////////////////////////////////////////////////

                    Binary Name = execveShellcode
    size in bytes = 
     23

     Shellcode = 


\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x89\xc1\x89\xc2\xb0\x0b\xcd\x80


Copyright :

	 Copyright 2012-2013 Hamza Megahed


License:

    binary2shellcode is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    binary2shellcode is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with binary2shellcode.  If not, see <http://www.gnu.org/licenses/>.

About

binary to shellcode converter

License:GNU General Public License v3.0


Languages

Language:C 100.0%