File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed
Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,9 @@ PEDA - Python Exploit Development Assistance for GDB
2929
3030## Installation
3131
32- git clone https://github.com/not-duckie /peda.git /opt /peda
33- echo "source /opt /peda/peda.py" >> ~/.gdbinit
32+ git clone https://github.com/longld /peda.git ~ /peda
33+ echo "source ~ /peda/peda.py" >> ~/.gdbinit
3434 echo "DONE! debug your program with gdb and enjoy"
35- Note:
36- This is exaclty the clone of peda repositry by ![ longld] ( https://github.com/longld/peda ) but this one doesnt throw warning to
37- use == instead of is when using with python3.
38- I changed it as it was anonying and peda is a great project by ![ longld] ( https://github.com/longld/peda ) and above those warnings.
3935
4036## Screenshot
4137![ start] ( http://i.imgur.com/P1BF5mp.png )
Original file line number Diff line number Diff line change 4242import config
4343from nasm import *
4444
45- if sys .version_info .major == 3 :
45+ if sys .version_info .major is 3 :
4646 from urllib .request import urlopen
4747 from urllib .parse import urlencode
4848 pyversion = 3
@@ -5789,9 +5789,9 @@ def list_shellcode():
57895789 while True :
57905790 for os in oslist :
57915791 msg ('%s %s' % (yellow ('[+]' ),green (os )))
5792- if pyversion == 2 :
5792+ if pyversion is 2 :
57935793 os = input ('%s' % blue ('os:' ))
5794- if pyversion == 3 :
5794+ if pyversion is 3 :
57955795 os = input ('%s' % blue ('os:' ))
57965796 if os in oslist : #check if os exist
57975797 break
@@ -5800,9 +5800,9 @@ def list_shellcode():
58005800 while True :
58015801 for job in joblist :
58025802 msg ('%s %s' % (yellow ('[+]' ),green (job )))
5803- if pyversion == 2 :
5803+ if pyversion is 2 :
58045804 job = raw_input ('%s' % blue ('job:' ))
5805- if pyversion == 3 :
5805+ if pyversion is 3 :
58065806 job = input ('%s' % blue ('job:' ))
58075807 if job != '' :
58085808 break
@@ -5811,9 +5811,9 @@ def list_shellcode():
58115811 while True :
58125812 for encode in encodelist :
58135813 msg ('%s %s' % (yellow ('[+]' ),green (encode )))
5814- if pyversion == 2 :
5814+ if pyversion is 2 :
58155815 encode = raw_input ('%s' % blue ('encode:' ))
5816- if pyversion == 3 :
5816+ if pyversion is 3 :
58175817 encode = input ('%s' % blue ('encode:' ))
58185818 if encode != '' :
58195819 break
You can’t perform that action at this time.
0 commit comments