• Stars
    star
    288
  • Rank 143,818 (Top 3 %)
  • Language
    JavaScript
  • Created over 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A realtime assembler/disassembler (formerly known as disasm.ninja)

disasm.pro

Formerly known as disasm.ninja, It's a multi-architecture realtime assembler/disassembler with line-to-line correlation. A live version is currently up at https://disasm.pro/

What and Why

It is basically a nice frontend of my keystone fork (for line-to-line assembling) and capstone. I don't normally do frontend development but I wanted something for quickly analyzing tiny snippets of code (mostly during CTFs) and shellcoding, which led to this.

I know there are other online assemblers/disassemblers out there, but none of them fit my exact needs.

Support

It currently supports 5 architectures:

  • x86/64
  • ARMv8
  • MIPS
  • Sparc
  • PowerPC

Most typical assembler directives are also supported. Macros are not fully supported.

Installation

To Install and run it locally:

  • Git clone with submodules
git clone https://github.com/ret2got/disasm.pro.git --recursive
cd disasm.pro
  • Build and Install the keystone fork (It's a submodule)
cd keystone
mkdir build; cd build
../make-share.sh; sudo make install
  • Install the Python3 bindings
cd bindings/python
sudo make install3
  • Install Python dependencies
pip3 install -r requirements.txt

Now you can run it by executing the ninja.py

python3 ninja.py

Bugs/Issues

If you stumble upon any bugs or somehow get it to segfault, please file an issue.

More Repositories

1

ELFPatch

A library for patching ELFs
Python
52
star
2

Ethereum-JSONRPC-DNS-Rebinding

The PoC files for ethereum client's JSON-RPC DNS Rebinding
JavaScript
35
star
3

SnCrawler

A web crawler written with pentesting in mind and some hacks for smart crawling
Python
30
star
4

Sipher-PHP-Ransomware

This is a very minimal ransomware written in php which can be used to encrypt the webroot of any server with AES-256
PHP
26
star
5

Struts-Apache-ExploitPack

These are just some script which you can use to detect and exploit the Apache Struts Vulnerability (CVE-2017-5638)
Shell
17
star
6

Hackerrank-30-days-of-Code-Cpp

These are the C++ solutions of http://hackerrank.com 's 30 days of Code
C++
7
star
7

Fulcrum-Advanced-PHP-Shell

A PHP shell using AES
PHP
6
star
8

McAfee-Tweet-Crypto-Bot

A simple python Bot which read McAfee's tweets for the coin of the day and buys it and sells at 2x
Python
6
star
9

Ransomware-C-Bash-minimal

This is just a type of ransomware which is mostly made in bash and given a outer shell in C
Shell
5
star
10

CTF-writeups

Repository for solution scripts for CTFs
Solidity
3
star
11

kik-bot

This is a kik(app) bot which can be run on a emulator(genymotion) for auto replying or in groups
Shell
3
star
12

ExpressJs-OpenRedirect-Scanner

This is a very simple open redirect scanner for all ExpressJs < 1.7.2. It takes a list of URL's and outputs the vulnerable One's
Shell
2
star
13

Algorithms

These are just some miscellaneous algorithms I write occasionally just to increase my knowledge
C++
1
star
14

CCC-Canadian-Computing-Competition

This is an ongoing work to solve all the questions that appear in CCC
C++
1
star