GithubHelp home page GithubHelp logo

easy-re's Introduction

Concolic Execution for low point reverse engineering problems

  • python easy_re.py -h
  • usage: easy_re.py [-h] [FILE] [-s START] [-e END] [-a]

Quick Concolic Analysis

positional arguments:
  file                  Binary File

optional arguments:
  -h, --help            show this help message and exit
  -s START, --start START
                        Where to start analyzing from
  -e END, --end END     Where to stop analyzing
  -a, --args            Solve for a symbolic arg (optional)
  -x AVOID, --avoid AVOID
                        Where to avoid analysis, eg 0x12345678,0x12345678
  -z XREF, --xref XREF  String to xref and find

Install

pip install easy_re

Solve for STDIN in a program

  • -s for the address to start at
  • -e for the address to end at
python easy_re.py crackme0x04 -s 0x08048509 -e 0x080484ef

Solve for ARGs in a program

  • -s for the address to start at
  • -e for the address to end at
  • -a for arg solves
python easy_re.py baby2 -s 0x004005b6 -e 0x4031a3 -a

Install Angr

sudo apt-get install python-pip python-dev build-essential
sudo pip install virtualenv virtualenvwrapper
sudo pip install --upgrade pip

Setup virtualenwrapper in ~/.bashrc

printf '\n%s\n%s\n%s' '# virtualenv' 'export WORKON_HOME=~/virtualenvs' \
'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc

source ~/.bashrc

Install angr

mkvirtualenv angr

workon angr

pip install angr
  • Now whenever you want to work on angr, just run workon angr
  • That will put you in a virtual python environment that can run the easy_re script

easy-re's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.