GithubHelp home page GithubHelp logo

0xb0bb / pwndra Goto Github PK

View Code? Open in Web Editor NEW
653.0 653.0 42.0 226 KB

A collection of pwn/CTF related utilities for Ghidra

License: Apache License 2.0

Python 100.00%
ctf ctf-tools exploitation ghidra ghidra-scripts pwn reverse-engineering

pwndra's People

Contributors

0xb0bb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwndra's Issues

AutoConstants and AutoSyscalls broken on latest Ghidra

I'm seeing Auto Constants and Auto Syscalls is broken on latest Ghidra (10.3) with Java 17.0.7. Looks to be the same underlying issue.

AutoSyscalls.py:

Traceback (most recent call last):
  File "...\pwndra\AutoSyscalls.py", line 34, in <module>
    run()
  File "...\pwndra\AutoSyscalls.py", line 31, in run
    obj = Syscalls(currentProgram, currentSelection, monitor, arch, abi)
  File "...\pwndra\lib\Syscalls.py", line 735, in __init__
    res = self.getRegisterValue(call, reg)
  File "...\pwndra\lib\Syscalls.py", line 583, in getRegisterValue
    evaluate = ConstantPropagationContextEvaluator(True)
TypeError: ghidra.app.plugin.core.analysis.ConstantPropagationContextEvaluator(): 1st arg can't be coerced to ghidra.util.task.TaskMonitor

AutoConstants.py:

Traceback (most recent call last):
  File "...\pwndra\AutoConstants.py", line 33, in <module>
    run()
  File "...\pwndra\AutoConstants.py", line 30, in run
    obj = Constants(currentProgram, currentSelection, monitor, state, arch, abi)
  File "...\pwndra\lib\Constants.py", line 321, in __init__
    value = self.getParameterValue(func, call, arg[0])
  File "...\pwndra\lib\Constants.py", line 143, in getParameterValue
    return self.getRegisterValue(func, call, param.getRegister())
  File "...\pwndra\lib\Constants.py", line 63, in getRegisterValue
    evaluate = ConstantPropagationContextEvaluator(True)
TypeError: ghidra.app.plugin.core.analysis.ConstantPropagationContextEvaluator(): 1st arg can't be coerced to ghidra.util.task.TaskMonitor

GoToMain is broken with latest Ghidra

Get an import error that some package can't be found.
Haven't looked into this yet, just noticed this after an update of Ghidra.

Error:
Traceback (most recent call last):
File "... /ghidra_scripts/pwndra/scripts/UtilitiesGotoMain.py", line 11, in
import generic.continues.RethrowContinuesFactory as RethrowContinuesFactory
ImportError: No module named continues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.