477 Commits

Author SHA1 Message Date
Alexey Vishnyakov 745f4dc7b4 Add version 6.2 v6.2 2020-02-28 17:20:10 +03:00
Alexey Vishnyakov 4b3824bdad Update main.yml 2020-02-28 17:09:02 +03:00
Alexey Vishnyakov f670fa6239 Fix CI 2020-02-28 16:39:59 +03:00
Alexey Vishnyakov 1f6fcd7bcd Update main.yml 2020-02-28 14:45:19 +03:00
Alexey Vishnyakov 81c97ebfad Update main.yml 2020-02-28 14:42:23 +03:00
Alexey Vishnyakov edad696430 Create main.yml 2020-02-28 14:36:11 +03:00
Alexey Vishnyakov f95697454d Add Python 2 to test script 2020-02-28 13:46:25 +03:00
Alexey Vishnyakov 93e6932420 Merge pull request #160 from nurmukhametov/add-simple-check
Add simple check
2020-02-28 13:34:47 +03:00
Alexey Vishnyakov 7b2caea1bb Add capstone dependency to pip 2020-02-28 12:22:37 +03:00
Alexey Nurmukhametov 91b206487b Add reference output and script for checking it 2020-02-23 17:09:56 +03:00
Alexey Vishnyakov c6a1b51677 Merge pull request #159 from nurmukhametov/fix-ropchain
Fix gadget string according to ropchain split/parsing
2020-02-23 17:07:15 +03:00
Alexey Nurmukhametov 259427c821 Fix gadget string according to ropchain split/parsing 2020-02-23 16:54:12 +03:00
Alexey Vishnyakov 38ece35a87 Add version 6.1 v6.1 2020-02-21 16:15:53 +03:00
Alexey Vishnyakov e47457f586 Fix merge 2020-02-21 16:07:34 +03:00
Alexey Vishnyakov 6e5d1045be Merge branch 'alegen-master' 2020-02-21 15:56:58 +03:00
Alexey Vishnyakov 3836f922f7 Merge branch 'master' of git://github.com/alegen/ROPgadget into alegen-master 2020-02-21 15:53:51 +03:00
Alexey Vishnyakov fe78cf2249 Support Python3 2020-02-21 15:05:20 +03:00
Alexey Vishnyakov 631a750ace Remove .DS_Store 2020-02-21 14:28:59 +03:00
Alexey Vishnyakov 7cdbce7b30 Merge pull request #158 from nurmukhametov/performance-improvement
Improve performance
2020-02-21 14:19:57 +03:00
Alexey Nurmukhametov a9e505f7c1 Improve performance
1. Improve speed by using disasm_lite
2. Reduce memory consumption. Don't save decodes object (was no use at
all). Save prev bytes only if --callPreceded presented. Save raw bytes
only if --dump presented.
3. Refactor passClean method to combine blacklisting and filtering. As
bonus, it is possible to provide regexp in --filter.
4. Add option --noinstr to disable the gadget instruction console
printing.
2020-02-21 13:35:17 +03:00
Jonathan Salwan a7c99b2f49 Merge pull request #157 from Matir/master
Fix a couple of small typos.
2020-02-03 09:21:44 +01:00
David Tomaschik f0231a63d0 Fix a couple of small typos. 2020-02-02 19:43:01 -08:00
Jonathan Salwan e87254d8cd Merge pull request #155 from SweetVishnya/v6.0
Add version 6.0
v6.0
2020-01-21 15:50:29 +01:00
Alexey Vishnyakov 5fef7f53ea Add version 6.0 2020-01-21 16:02:43 +03:00
Jonathan Salwan 4d979cd802 Merge pull request #154 from SweetVishnya/more-jop
More JOP gadgets
2020-01-14 20:36:18 +01:00
Alexey Vishnyakov 67d32be5d9 Add x86 jmp offset 2020-01-14 18:53:42 +03:00
Alexey Vishnyakov e7c1aa3e58 Add MIPS j and jal 2020-01-14 17:47:58 +03:00
Alexey Vishnyakov 30595d1385 Add more registers for MIPS jr and jalr 2020-01-14 17:12:58 +03:00
Alexandru Geana a9b31c3be4 add option to disable text output during analysis 2019-12-22 00:25:12 +01:00
Jonathan Salwan 732d9ba9da Merge pull request #151 from SweetVishnya/v5.9
Add version 5.9
v5.9
2019-10-29 09:20:24 +01:00
Alexey Vishnyakov 472f1fe889 Add version 5.9 2019-10-29 11:16:27 +03:00
Jonathan Salwan 965c022cf3 Merge pull request #150 from nurmukhametov/ignore_gadgets_with_bad_instructions
Ignore gadgets that contain misdissasembled instructions
2019-10-28 17:59:12 +01:00
Jonathan Salwan ed93b746a6 Merge pull request #147 from nurmukhametov/fix-python3-opcode-memstr
Fix opcode and memstr options for python3.
2019-10-28 17:59:01 +01:00
Alexey Nurmukhametov f69842ba4c Ignore gadgets that contain misdissasembled instructions 2019-10-28 19:21:40 +03:00
Jonathan Salwan 811b66cd6e Merge pull request #149 from flashspys/patch-1
fixed typo
2019-09-30 23:03:56 +02:00
Felix Wehnert 7a3c8dbbb7 fixed typo 2019-09-30 22:25:05 +02:00
Alexey Nurmukhametov 703f88db21 Fix opcode and memstr options for python3. 2019-08-26 17:33:02 +03:00
Jonathan Salwan a448d99596 Fix version 5.8 2019-06-13 13:17:19 +02:00
Jonathan Salwan 4eac4cb716 Add version 5.8 v5.8 2019-06-13 13:11:07 +02:00
Jonathan Salwan c6439de2f7 Fix python3 2019-06-13 13:10:11 +02:00
Jonathan Salwan a186598657 Merge pull request #139 from migounette/master
Fix issue with python 3.7.5
2019-06-13 12:38:06 +02:00
Jonathan Salwan 9583a53595 Merge pull request #141 from SweetVishnya/bi-endianness
Support multiple endianness
2019-06-13 12:37:15 +02:00
Alexey Vishnyakov b9a74286c2 Support multiple endianness 2019-06-13 13:29:34 +03:00
Yann Stephan 5dc86f3cab Fix issue with python 3.7.5
eg. ROPgadget --binary /bin/ls --dump --all --depth 6

============================================================
Traceback (most recent call last):
  File "/usr/local/bin/ROPgadget", line 4, in <module>
    __import__('pkg_resources').run_script('ROPGadget==5.7', 'ROPgadget')
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1460, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.7/site-packages/ROPGadget-5.7-py3.7.egg/EGG-INFO/scripts/ROPgadget", line 12, in <module>
  File "/usr/local/lib/python3.7/site-packages/ROPGadget-5.7-py3.7.egg/ropgadget/__init__.py", line 24, in main
  File "/usr/local/lib/python3.7/site-packages/ROPGadget-5.7-py3.7.egg/ropgadget/core.py", line 206, in analyze
  File "/usr/local/lib/python3.7/site-packages/ROPGadget-5.7-py3.7.egg/ropgadget/core.py", line 111, in __lookingForGadgets
AttributeError: 'bytes' object has no attribute 'encode'
2019-06-04 18:24:05 +02:00
Jonathan Salwan a5ab76a0d4 Fix version 5.7 v5.7 2019-02-28 09:33:50 +01:00
Jonathan Salwan 2be1cf2334 Merge pull request #136 from Kyle-Kyle/master
fix wrong search in range implementation
2019-02-28 09:24:36 +01:00
Jonathan Salwan 4294f7f0ac Merge pull request #132 from mordak/arm64-blacklist
Add blacklisted instructions for arm64.
2019-01-09 19:10:43 +01:00
Kyle ZENG 97f9b63659 fix default value check 2019-01-05 15:18:33 -08:00
Kyle ZENG c744d7b708 fix a misalignment issue 2019-01-05 14:46:46 -08:00
Kyle ZENG 0517edf138 fix wrong search-in-range implementation 2019-01-05 14:22:42 -08:00