Commit Graph

501 Commits

Author SHA1 Message Date
nename0 8cd2bb7bb4 badbytes - refactor raise-except to for-else 2021-03-25 15:45:45 +01:00
nename0 b6b8710bbd Add badbytes test with non-zero gadgets 2021-03-25 15:38:11 +01:00
nename0 91fb0855c2 Dirty fix ubuntu version to 18.04 2021-03-25 15:37:59 +01:00
Alexey Vishnyakov 7c5d4cffc5 Add version 6.5 v6.5 2021-01-21 20:16:29 +03:00
Alexey Vishnyakov 82ea700544 Merge pull request #169 from JonathanSalwan/linter
Add Python linter
2021-01-17 19:14:56 +03:00
Alexey Vishnyakov a30c6f33b5 mipsrop refactoring 2021-01-17 19:10:53 +03:00
Alexey Vishnyakov 246efe6096 Add Python linter and fix style 2021-01-17 18:44:03 +03:00
Alexey Vishnyakov 9ca3182844 Fix missing comma 2021-01-17 18:41:15 +03:00
Jonathan Salwan c8b2440c01 Merge pull request #168 from rekter0/master
adding mipsrop
2021-01-04 19:44:43 +01:00
rekter0 f3aaf0c055 update 2021-01-01 20:50:54 +01:00
rekter0 b3cd0acb15 Update README.md 2021-01-01 20:44:17 +01:00
rekter0 d2d87aa459 add mipsrop
this helps to find useful gadgets for mips, its inspired by https://github.com/tacnetsol/ida/tree/master/plugins/mipsrop
------------
available options for --mipsrop

	registers
	gadgets that put stack values into a register. (useful to control registers values)

	stackfinder
	gadgets that put a stack address into a register. (useful to load shellcode address into register)

	system
	gadgets that put a stack address into $a0. (useful to call system())

	tails
	tail call gadgets. (useful for function calls)

	lia0
	gadgets that load an immediate value number into $a0. (useful for setting up the argument to sleep)
2021-01-01 20:43:33 +01:00
rekter0 c9df5071b3 add mipsrop argument 2021-01-01 20:41:59 +01:00
Alexey Vishnyakov bde2e3d8cf Fix disassemble start address, closes #167 2020-12-08 18:24:09 +03:00
Alexey Vishnyakov a97d5be623 Add version 6.4 v6.4 2020-12-03 14:10:57 +03:00
Alexey Vishnyakov 11417ce4be Support gadgets alignment options, closes #97 2020-12-03 14:05:33 +03:00
Alexey Vishnyakov ce1ba027cb Merge pull request #165 from nurmukhametov/fix-164
Remove unused sqlite3 import
2020-07-10 09:39:09 +03:00
Alexey Nurmukhametov fd0d9bcde4 Remove unused sqlite3 import 2020-07-10 02:01:19 +03:00
Alexey Vishnyakov 15ffb1b08d Fix tests 2020-07-02 20:04:26 +03:00
Alexey Vishnyakov 34115ea683 Do not sys.exit from Args.__parse, closes #111 2020-07-02 19:54:07 +03:00
Alexey Vishnyakov c29c50773e Add version 6.3 v6.3 2020-04-17 16:49:39 +03:00
Jonathan Salwan 13682daebe Update test 2020-03-18 15:41:16 +01:00
Jonathan Salwan a89966763b Merge pull request #161 from yjugl/master
Find more call and jmp gadgets operating on x86 or x64 registers
2020-03-18 15:34:34 +01:00
yannis 6aa1a7de71 Find more call and jmp gadgets operating on x86 or x64 registers 2020-03-17 17:54:14 +01:00
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