GithubHelp home page GithubHelp logo

lisa.py's Introduction

lisa.py

- An Exploit Dev Swiss Army Knife. 

Commands

  aslr        -- View/modify ASLR setting of target.
  checksec    -- Display the security properties of the current executable
  context     -- Display context of given thread or selected thread by default. Usage: 'context all' or 'context 1'
  csdis       -- Disassemble buffer at a given pointer using Capstone
  exploitable -- Check if the current exception context is exploitable
  man         -- Full Instruction Reference Plugin (idaref)
  pbt         -- Pretty print backtrace
  pmem        -- Visualize memory at a given address and size
  pstack      -- Visualize stack for a given frame or selected frame by default
  rmem        -- Hexdump memory at a given address and size
  rr          -- Display registers for a given thread and frame or selected thread and selected frame by default
  rstack      -- Hexdump stack for a given frame or selected frame by default
  show_header -- Dump Mach-O headers
  show_lc     -- Dump Load Commands from Mach-O

Commands in Detail

  • aslr - View/modify ASLR setting of target.
(lisa:>) help aslr
     View/modify ASLR setting of target.  Expects 'raw' input (see 'help raw-input'.)

Syntax: aslr
View/modify ASLR setting of target.

Arguments:
  <on>; Enable ASLR. Usage: aslr on
  <off>; disable ASLR. Usage: aslr off

Syntax: aslr <on> <off>

This command is implemented as ASLRCommand
(lisa:>) aslr on
(lisa:>) aslr 
ASLR : on
(lisa:>) aslr off
(lisa:>) aslr
ASLR : off
(lisa:>) 
  • checksec - Display the security properties of an executable
(lisa:>) checksec 
Got a Macho-O binary
Parsing arm64 Mach-O
ARC	         : True
PIE	         : True
Stack Canary	 : True
Encrypted	 : False
NX Heap		 : True
NX Stack 	 : True
Restricted 	 : False
(lisa:>) checksec /usr/bin/clang
Got a fat binary
Choose only the host arch: arm64? y/n: y
Parsing arm64 Mach-O
ARC	         : False
PIE	         : True
Stack Canary	 : False
Encrypted	 : False
NX Heap		 : True
NX Stack 	 : True
Restricted 	 : True (Authority=Software Signing)
(lisa:>) 

TODO

  • Add more testcases to test exploitable command

Credits

lisa.py's People

Contributors

ant4g0nist avatar himanshudas 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.