63 Commits
Author SHA1 Message Date
Mihai-Valentin DUMITRU 2f48add05b silence python3.8 warnings 2019-11-29 17:14:16 +02:00
Niboucha Redouane bfffa63072 Fix peda.getpid() for remote debugging
Fixed peda.getpid() returning None when debugging remote processes, _is_running now returns true for remote processes, commands like telescope, vmmap, context etc. now work fine
2019-02-08 22:23:23 +01:00
Niboucha Redouane 2d7afd1d8b Fixed a bug in the string_to_argv method
Fixed a bug where the lexer fails to parse a command like : patch "\x22"
2018-10-04 00:45:52 +01:00
Long Le f7824e6c68 Update output msg of breakrva 2018-09-15 08:48:13 +07:00
Quang Nguyen 7b7a8503bc set breakpoint at RVA from PIE base. 2018-09-10 15:24:32 +07:00
Agahlot 82fcb5a12c Fix: *address* instead of *sp* 2018-02-05 23:39:05 +05:30
Agahlot dbb5897274 fix telescope output 2018-02-05 23:30:05 +05:30
Long Le bbf58727b4 Fix regex in elfheader 2017-05-23 08:36:44 +07:00
Long Le 847a926b04 Make "clearscreen" more reasonable and configurable 2017-04-08 13:36:24 +07:00
Long Le 5458dd5ba8 Fix "jmp reg" cases in eval_target() 2017-01-25 09:05:01 +07:00
Grazfather c3e2105662 eflags: Add toggle option 2016-08-25 15:47:04 +00:00
Bret Barkley 0321d83ee9 Made the context info 'clear' so the screen is persistent (more tui-like) 2016-08-08 14:08:42 +00:00
Long Le b7c7d7aeeb Add depth limit to examine_mem_reference() 2016-06-03 08:51:55 +07:00
Long Le 2dae43f0ce - Update getpid() and get_vmmap() to make it works on OSX 2016-04-30 17:42:05 +07:00
Long Le a7a9a7e8c3 - More error checking for asm/rop search 2016-03-11 08:22:08 +07:00
Wladimir J. van der Laan d7f7d06333 Fix RELRO detection in checksec
The code was relying on a certain order of GNU_RELRO and BIND_NOW, which
was not always satisfied causing misdetection of Full RELRO executables
as Partial RELRO.

Change the code so that FULL RELRO is detected correctly in these cases.
2015-10-15 13:24:54 +02:00
Ali Razmjoo 0e1348dc8c Add OWASP ZSC API 2015-10-03 18:31:31 +03:30
Ali Razmjoo 2164094b73 add owasp zsc api 2015-09-27 14:47:33 +03:30
Long Le 1e621254a5 - Rename skip to skipi
- Update link to github
- Fix identation in ea035c3
2015-07-29 09:02:47 +07:00
degrigis 89a87fcf88 Fixed the wrong checksec output 'RELRO: Full' when there is BIND_NOW but not the GNU_RELRO
Signed-off-by: degrigis <[email protected]>
2015-07-28 22:32:41 +02:00
Travis Finkenauer b423f48b7c Fix some bugs w/ patching memory under Python 3
-assemble
-cmpmem
-patch
-substr
-xormem
2015-07-11 19:09:53 -04:00
Travis Finkenauer 78e74b6b7a Fix serveral bugs in Python 3
-pattern_offset/pattern_search
 -lookup address/pointer
 -snapshot save/restore
 -strings/substr
2015-07-09 22:38:27 -04:00
Travis Finkenauer f186b2127e Fix asmsearch in Python 3 2015-07-06 16:37:00 -04:00
Travis Finkenauer c94ba0d5d7 Add support for Python 3 using the six library.
Refer to python23-compatibility.md for details about supporting both
Python 2 and Python 3.
2015-07-05 00:44:36 -04:00
Long Le 152e6357d5 - Add get_config_filename()
- Make PEDA work on systems with restricted /proc access (PR #34)
2015-04-05 10:18:01 +07:00
Aurélien Wailly a1252d8c55 Compliance with colon in operation, using :\t
- Replaced every occurence in peda.py and lib/utils.py
- context_code, traceinst and tracecall working
2015-03-27 13:44:36 +01:00
Aurélien Wailly f07976d0ca Parse inst containing multiple colons
- The current context_code will silently fail if the inst contains
  multiple colons. This is happening with C++ programs having std:: in
  the symbol.
2015-03-25 16:34:00 +01:00
Long Le c2b2313209 Merge pull request #47 from awailly/master
More error info for the payload function
2015-03-18 21:48:49 +07:00
mancha 1a2ef594b3 Fix bug in hexdump when called with a byte count parameter 2015-03-18 06:25:33 +00:00
Aurélien Wailly 493c718457 More output for the payload function
- The current payload silently fails when there is no copy function
- Added two warnings to explain the failure
2015-03-17 14:11:23 +01:00
Long Le 8c831be68c Merge pull request #40 from 5th-Amendment/patch-1
Update peda.py
2015-03-09 13:08:13 +07:00
Zach Riggle 16dceead49 Fix temporary breakpoint on elf_entry 2015-02-07 09:39:43 -05:00
5th-Amendment 0a3c0ac673 Update peda.py
Spelling is important.
2014-10-19 05:40:12 -07:00
Zach Riggle 461e99aeb3 Typo 'instsize' 2014-09-05 09:50:01 -04:00
Zach Riggle 66a41577c3 Procfs warning message for FreeBSD 2014-07-06 00:44:20 +00:00
Zach Riggle a73d8abb8c allow arguments for start command 2014-07-03 18:05:59 -04:00
Long Le d0bd978d7b - Change to "Exception as e" 2013-11-29 11:28:38 +07:00
Long Le b4783db990 - Raise error if Python3
- Fix tab/space mixed
2013-11-29 11:17:41 +07:00
benjamin vanheuverzwijn 0b8748b099 Fixed a bug when calling context_code without linecount (default to 8) 2013-11-18 02:24:39 -05:00
Long Le 76ce2a4945 - Update get_vmmap() to support FreeBSD
- Fix minor bug in unptrace(), remove bufferize from context()
2013-08-01 22:53:06 +07:00
Long Le cf82aca48f Merge pull request #11 from danghvu/ropsearch
Wild card for Ropsearch
2013-06-07 19:43:52 -07:00
Long Le 81fc223d44 - Fix regex error in utils.cyclic_pattern_search() and possible in PEDACmd.strings() 2013-06-07 16:46:25 +07:00
Dang Hoang Vu 11d970d4f7 Optimize speed further by assembling per ops 2013-06-07 00:40:20 +02:00
Dang Hoang Vu 26d01eab9a Allow overlapping matches, fix minor bug in checking rop 2013-06-06 17:16:53 +02:00
Dang Hoang Vu 807b04204c Update search_asm to use memoized assemble, speed improved 2013-06-06 12:46:32 +02:00
Dang Hoang Vu 760bb4d9bf Change ropsearch to support wildcard ? 2013-06-06 04:03:12 +02:00
Wannes Rombouts e3be11851f Added the ability to handle nested-calls to msg's buffering. 2013-06-02 11:08:07 +02:00
Wannes Rombouts 45e0fde646 Added bufferisation capability to msg() and made context() use it to avoid lag while printing to the console which caused my head to explode. 2013-06-01 19:12:47 +02:00
Dang Hoang Vu 38f71820f9 Switch to De Bruijn pattern_create algoritm, custom charset supported 2013-05-31 01:53:54 +02:00
Long Le 9c39ff1bc5 - Update peda.get_vmmap(), peda.elfheader(): get partially maps when not running
- Minor fixes in elfsymbol*()
- Remove hookpost-stop
2012-12-21 13:23:57 +07:00