Comments (4)
On Mon, Jun 20, 2016 at 05:43:48AM -0700, Shubham Bansal wrote:
gef loaded,
gef help' to start,
gef config' to configure
32 commands loaded (17 sub-commands), using Python engine 3.5Your gdb is compiled with Python 3.5 bindings.
Either install the dependencies (Keystone, Capstone, Unicorn) for Python 3 or
recompile gdb with python2 bindings.
hugsy
"Computer science is no more about computers than astronomy is about telescopes." - E. Dijkstra
from gef.
Okay. Now I have switched to Python 3.5 and I am doing pip3 install keystone
but it gives me following error
Collecting keystone
Using cached Keystone-0.2.1.tar.gz
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.15.tar.gz
Traceback (most recent call last):
File "/tmp/pip-build-z21atep1/keystone/distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-z21atep1/keystone/setup.py", line 2, in <module>
use_setuptools('0.6.15')
File "/tmp/pip-build-z21atep1/keystone/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/tmp/pip-build-z21atep1/keystone/distribute_setup.py", line 124, in _do_download
to_dir, download_delay)
File "/tmp/pip-build-z21atep1/keystone/distribute_setup.py", line 196, in download_setuptools
data = src.read()
File "/usr/lib/python3.5/http/client.py", line 461, in read
s = self._safe_read(self.length)
File "/usr/lib/python3.5/http/client.py", line 607, in _safe_read
chunk = self.fp.read(min(amt, MAXAMOUNT))
File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.5/ssl.py", line 925, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.5/ssl.py", line 787, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.5/ssl.py", line 571, in read
v = self._sslobj.read(len, buffer)
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1977)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-z21atep1/keystone/
Also, I tried to install keystone from the git repo but its not detected by the gef.
from gef.
Found the Fix.
You guys need to update the keystone installation steps. For correct information, check Keystone-install
Also, for unicorn installation , you have to do
git clone https://github.com/unicorn-engine/unicorn.git && cd unicorn && ./make.sh && sudo ./make.sh install && cd bindings/python && sudo make install
from gef.
Yes, I was made aware that there is already a (wrong) package called keystone
in pip.
Fixed by e6c4f47
Updated documentation : https://gef.readthedocs.io/en/latest/config/#optional-dependancies
from gef.
Related Issues (20)
- [Bug] GEF installation error with GDB 8.2 with Python3.6 bindings HOT 3
- [Bug] read_cstring length can be set so that it reads into an unmapped region HOT 5
- [Bug] Missing update of local `/proc/{pid}/maps` in remote session when new shared library is loaded HOT 5
- [Bug] cant open under ubuntu 16.0.4 python 3.6 HOT 2
- Question about pyenv HOT 6
- [Docs] Add `pre-commit` documentation
- sth. about function and UI HOT 1
- gef for windows HOT 4
- The Gef Frame Is small HOT 2
- [Bug] AssertionError HOT 5
- Possible GEF `dereference` issue with `gef-remote` HOT 7
- Add support for LLDB HOT 1
- [Bug] GEF supports Python 3.6+ but uses f-string debugging only introduced in Python 3.8+, breaking compatibility
- [Bug] vmmap command 'offset' column actually shows size HOT 1
- [Bug] SyntaxError: unterminated triple-quoted string literal HOT 1
- display bug , after some commands ,there will be a wrong display HOT 10
- Python Exception <class 'RuntimeError'>: No session started HOT 5
- Alpine dependencies HOT 2
- variable name causes problems
- General Maintenance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gef.