Commit Graph

113 Commits

Author SHA1 Message Date
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
Long Le ffa2219842 Merge pull request #50 from awailly/master
Parse inst containing multiple colons
2015-04-05 08:49:45 +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
Long Le d3b656e23a Merge pull request #49 from mancha1/hexdump
Fix bug in hexdump when called with a byte count parameter
2015-03-18 21:35:43 +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
Long Le 513530d20a Merge pull request #42 from zachriggle/patch-2
Fix temporary breakpoint on elf_entry
2015-03-09 13:07:54 +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
Long Le 327db442e6 Merge pull request #36 from zachriggle/patch-1
Typo 'instsize'
2014-09-11 21:55:39 +07:00
Zach Riggle 461e99aeb3 Typo 'instsize' 2014-09-05 09:50:01 -04:00
Long Le 9b1d28dea3 Merge pull request #33 from zachriggle/freebsd-procfs-not-mounted
Procfs warning message for FreeBSD
2014-07-08 08:38:07 +07:00
Zach Riggle 66a41577c3 Procfs warning message for FreeBSD 2014-07-06 00:44:20 +00:00
Long Le f231d75de1 Merge pull request #31 from zachriggle/start-args
allow arguments for start command
2014-07-05 17:16:46 +07: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
Hoang-Vu Dang 35884e3030 Merge pull request #17 from bvanheu/master
Fixed a bug when calling context_code without linecount (default to 8)
2013-11-18 15:35:32 -08: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 ef21591ce8 Use debug option in external command 2013-06-07 09:19:45 +02:00
Long Le b12bf95e19 Merge pull request #7 from wapiflapi/bufferisation
msg bufferisation (only)
2013-06-06 20:40:11 -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
Long Le 35942ab0b7 Merge pull request #8 from danghvu/add_document
Add simple documentation and screenshot
2013-06-04 18:46:45 -07:00
Wannes Rombouts c60197c017 Fixed mesager/message typo, Removed outs list, replaced with a simple StringIO or stdout holder called 'out'. 2013-06-03 14:30:04 +02:00
Dang Hoang Vu f3cbe1c4e4 Fix some typos 2013-06-03 11:28:03 +02:00
Dang Hoang Vu dee8feab48 Add simple documentation and screenshots 2013-06-03 11:18:23 +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
Long Le 06974410ac Merge pull request #5 from danghvu/pattern_charset
Switch to De Bruijn pattern_create algoritm, custom charset supported
2013-05-31 07:42:23 -07:00
Dang Hoang Vu 012e52a247 Mixed the default charset 2013-05-31 13:01:56 +02:00
Dang Hoang Vu a4ec2ba5df Fix a minor bug in cyclic_pattern, remove looping when pattern reaches max size 2013-05-31 08:14:03 +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 86c83bf02e - Minor updates for skeleton.py
- Fix pagesize=0 bug in pager()
2013-05-29 08:23:17 +07: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
Long Le bb732097d3 - Fix bug in hex2str(): convert negative number
- Fix bug in peda.elfsymbols(): retrieve wrong address
2012-12-18 23:33:10 +07:00
Long Le dc177830cd - Add sgrep command to search for full strings contain a pattern
- Update start command: use main_entry for faster start
- Update patch command: support spraying a memory range with a value
- Update strings command: use regex for faster search
- Refine some regexes and minor fixes
2012-11-22 14:17:02 +07:00
Long Le c933a0af0e - Update/add cyclic_pattern_* functions
- Update assemble command: support custom bit mode, patching binary when "set write on"
- Fix indentation error in xrefs
- Improve pattern_search command: search for all pattern portions in memory
- Add command pattern_arg, pattern_env to quickly set arg, env with pattern
2012-11-20 09:27:31 +07:00
Long Le 7c4a93771e - Fix regex of get_vmmap() to match filename with space
- Use peda.execute() instead of gdb.execute() while setting options to skip errors
- Change input-radix to default (only set output -radix to 0x10)
- Fix gdb prompt
2012-10-22 08:34:09 +07:00
Long Le 85b80c6372 Revert change to colorize(), temporarily fix promt linewrapping 2012-10-08 08:41:32 +07:00
Long Le 23b6e3b32e Merge branch 'master' of https://github.com/longld/peda 2012-10-08 07:43:35 +07:00
Dang Hoang Vu f4eba9760b fix bug prompt when newline 2012-10-07 18:56:21 +02:00