novicelive / bintut Goto Github PK
View Code? Open in Web Editor NEWTeach you a binary exploitation for great good.
License: GNU General Public License v3.0
Teach you a binary exploitation for great good.
License: GNU General Public License v3.0
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 :)
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/
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
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'
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.