GithubHelp home page GithubHelp logo

novicelive / bintut Goto Github PK

View Code? Open in Web Editor NEW
294.0 294.0 43.0 253 KB

Teach you a binary exploitation for great good.

License: GNU General Public License v3.0

Python 93.92% Shell 2.16% C 3.72% Batchfile 0.20%

bintut's People

Contributors

novicelive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bintut's Issues

ImportError: No module named 'pkg_resources'

I am running arch linux I got the bintut from pip2

โžœ  ~ bintut plain
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bintut/entry.py", line 24, in <module>
    from pkg_resources import resource_filename
ImportError: No module named 'pkg_resources'

hope it will be fixed soon :)

Can't install on Python 2

Pat is responsible for this.

$ pip2 install --user -e .                                                                                           :(
Obtaining file:///home/blind7/safe/trustworthy/public-repo/bintut.git
Collecting click (from BinTut==0.3.2)
  Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Requirement already satisfied: colorama in /usr/lib/python2.7/site-packages (from BinTut==0.3.2) (0.3.9)
Collecting pat (from BinTut==0.3.2)
  Using cached https://files.pythonhosted.org/packages/72/90/10cd10d8ba90a798f4df524b8342b02c5d8027462f6af68baa59fd5ca6bd/Pat-0.5.1.tar.gz
Collecting ropper (from BinTut==0.3.2)
  Using cached https://files.pythonhosted.org/packages/7e/5c/6419af4c83bc22829febd69f29d1bc975ce9b2904d585f3e4640e2d55c7a/ropper-1.11.6.tar.gz
Collecting pyelftools (from BinTut==0.3.2)
  Using cached https://files.pythonhosted.org/packages/fa/9a/0674cb1725196568bdbca98304f2efb17368b57af1a4bb3fc772c026f474/pyelftools-0.25.tar.gz
Collecting flufl.i18n (from pat->BinTut==0.3.2)
  Using cached https://files.pythonhosted.org/packages/9d/87/186e9d4dfe13d35f0e48a0091932cd0891d4516664af174fb2061ec58c1b/flufl.i18n-2.0.1.tar.gz
    Complete output from command python setup.py egg_info:
    Python 3.4.0 or better is required
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-_VExXa/flufl.i18n/

PLAIN is going to background in single mode

Dont know how to debug it but if i run bintut in single mode for PLAIN exercise , then the shell is not poped. it goes to background. But not in burst mode, it is working fine
Thanks for these tutorials

Incompatible with pyelftools>=0.24

The last matched version is pyelftools==0.23, whereas its latest released version is 0.25.

$ bintut -b0.3 frame-faking

...skipped...

Traceback (most recent call last):
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/entry.py", line 56, in <module>
    start_tutor(course, bits, burst, aslr, level)
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/courses/main.py", line 72, in start_tutor                                                                                    
    payload = make_payload(offset, addr, course)
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/courses/exploits.py", line 47, in make_payload                                                                               
    Faked(b'execl', ['/bin/sh', '/bin/sh', 0]) +
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/courses/exploits.py", line 267, in __add__                                                                                   
    p32(self.leave_ret) + other.make_args())
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/courses/exploits.py", line 315, in get                                                                                       
    return self.get_func_address(name)
  File "/home/blind8/trustworthy/public-repo/bintut.git/bintut/courses/exploits.py", line 368, in get_func_address                                                                          
    raise RuntimeError('Failed to find {}'.format(name))
RuntimeError: Failed to find b'system'

ImportError: + UserWarning:

hello , after successfully installed the requirements ,i tried giving bintut a try , suddenly i got a warning about security !
after ignoring that i got an error saying the module pat is not found , ( i already installed it )

/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/rezk2ll/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Traceback (most recent call last):
  File "/home/rezk2ll/.python-eggs/BinTut-0.3.1_-py2.7.egg-tmp/bintut/entry.py", line 28, in <module>
    from courses.main import start_tutor
  File "/home/rezk2ll/.python-eggs/BinTut-0.3.1_-py2.7.egg-tmp/bintut/courses/main.py", line 28, in <module>
    from pat import Pat
ImportError: No module named 'pat'

any solution/s ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.