• Stars
    star
    548
  • Rank 78,390 (Top 2 %)
  • Language
    Perl
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

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

Repository Details

Simple tools to make reverse engineering and console cowboying easier, primarily by data translation and manipulation + file handle piping. Mostly *nix tools with an emphasis on macOS.

samytools

Tools for console cowboying.

This is a collection of simple but effective tools to use on the command line to improve computing.


3 - combined calculator and base converter

GET - HTTP GET

aes - encrypt/decrypt message with AES aes 9E38A1CACF2E2AEB2393ABA2AD9582D3 1CF7E85AFE548262CCAE0F1A5F181799

aire - (OS X) reset wifi aire # network will disconnect temporary

alert - alert (play sound) when a command completes alert dd if=file.iso of=disk

alexa - get Alexa.com ranking for a site alexa cnn.com

all - loop a command over a list of files all 'tar -zxvf FILE' *tgz

ana -

appkey - send keystrokes or shortcut keys to specific app or globally to control them programmatically

arduino -

asm - compiles, links and executes .asm file via nasm asm file.asm

asm2pl - convert 8051 asm to perl asm2pl <file>

avg - Averages numbers avg <numbers> [NUMBERxTIMES] [...]

b2h -

b64 - Decodes or encodes b64 b64 <-d | -e> [data | STDIN]

baud - Determines Baudrate based on values. baud <bit width[ums]> [bit width...]

bl - ccchanbw - ccdeviatn - ccdrate - ccfreq - char -

conv - Media file conversion (mp4, FLV, mov, AIF, flac, mp3, jpg, png, gif, bmp) conv <from> <to>

cpu - Unload OSX Crashplan cpu

de_bruijn - De Bruijn Sequence Generator de_bruijn <alpha> <nums>

desktopinfo -

diffbits - Diff two equal length (per row) sets of binary data diffbits <1> <2>

diffdir - Diff two directories by comparing filenames rather than contents diffdir <1> <2>

disable_swap - Disables OSX dynamic_pager and removes vm/swapfile disable_swap

dos2unix - ds - exp -

g - grep++ g [files] [-aoRz] [-n <file match>] [-i=file] [-e=file] [-options] <match> [-v !match] [-x <cmd, eg ls -lh>]

gcode-xbox - control Grbl-based CNC machine (Carvey, X-Carve, etc) from an Xbox controller gcode-xbox [/dev/cu.GRBL_SERIAL_PORT]

hex2bin - convert intel hex file to binary hex2bin <file>

ip - list IPv4 addresses, interface name and default gateway ip # list all IPs, interfaces, and gateway ip en0 # only list IP of en0 interface

ipfwd - (OS X) enable/disable IP forwarding, temporarily or permanently ipfwd 1 # enable ip forwardwing ipfwd 0 # disable ip forwardwing ipfwd 5 10 # enable for 5 seconds, disable for 10 seconds, enable on exit

j - join multiple arguments or stdin together into single string with optional join parameter

tigerblood:/b$ j 0 1 1 1 1 0 0 1 0 1 1 0 1 1 1 1
0111100101101111

tigerblood:/b$ j -s ,
first
second
third
first,second,third

nocolor - removes color from piped input, useful if you're trying to parse data where color codes are interfering command_that_has_colored_output | nocolor | grep something

ocr - converts image (local file or url) to text via tesseract, cleans up the image first via imagemagick ocr https://samy.pl/code.png > code.txt ocr passwords.png > passes.txt

onchange - run a command whenever a file/directory changes onchange . rsync -av ./ remote.com:project

pb2url - pi -

pm3cs8 - Convert proxmark3 trace to cs8 (complex int8/hackrf fmt) for inspectrum pn9 <pm3.trace/file.wav>

pmi - pn9 -

rtl - make listening/saving data from rtl-sdr or hackrf faster rtl -f 314M -M raw -s 2000000 out.raw

same - look for files that are identical (quickly) same [-e match-regexp] [-v ignore-regexp] <dir> [...]

sdi - sdr -

serialsniff - (OSX) Sniffs a serial Connection. Prints all unprintable characters! serialsniffer <serial device>

sik - siteinfo -

spec - spectrum analyzer (gpu accelerated) spec <input>

strace - dtrace wrapper strace [-acdefholLs] [-t syscall] { -p PID | -n name | command }

teensy - testpb - timer - tm - unm -

unpack - recursively unpack a file and any archives it contains

  • useful for files like .pkg that are xar archives containing further gz/cpio archives
  • this will not only unpack the primary file (zip/bz2/gz/tar/cpio/xar/gz/7z/xz) but also all packed/archived files contained unpack . - look for any archives in our dir unpack -v archive.tar.gz - verbose

unz - Runs lzma on multiple files unz <file1> <file2>

ur - url_sniff - watch - whiten -

wx - wget's and unpacks files wx <url>

xor - XOR Encode/Decode xor [-d | -x] <file1 | data1> <file2 | data2>

rtl - uses rtl_fm or hackrf_fm to listen to a frequency, with a default of AM modulation and a high sample rate.

usage: rtl [-s squelch] [-m modulation] [-b (baudline)] [-l (lowpass)] <frequency (hz/mhz)> [file.wav]

rtl 315M listens at 315M with AM modulation and a sample rate of 2M

rtl 315M test.wav saves to test.wav while listening to 15M with AM modulation and a sample rate of 2M


More Repositories

1

poisontap

Exploits locked/password protected computers over USB, drops persistent WebSocket-based backdoor, exposes internal router, and siphons cookies using Raspberry Pi Zero & Node.js.
JavaScript
6,161
star
2

evercookie

Produces persistent, respawning "super" cookies in a browser, abusing over a dozen techniques. Its goal is to identify users after they've removed standard cookies and other privacy data such as Flash cookies (LSOs), HTML5 storage, SilverLight storage, and others.
JavaScript
4,320
star
3

magspoof

A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers. It can disable Chip&PIN and predict AMEX card numbers with 100% accuracy.
C
3,787
star
4

pwnat

The only tool/technique to punch holes through firewalls/NATs where multiple clients & server can be behind separate NATs without any 3rd party involvement. Pwnat is a newly developed technique, exploiting a property of NAT translation tables, with no 3rd party, port forwarding, DMZ, DNS, router admin requirements, STUN/TURN/UPnP/ICE, or spoofing.
C
2,846
star
5

slipstream

NAT Slipstreaming allows an attacker to remotely access any TCP/UDP services bound to a victim machine, bypassing the victimโ€™s NAT/firewall, just by anyone on the victim's network visiting a website
Perl
1,865
star
6

skyjack

A drone engineered to autonomously seek out, hack, and wirelessly take full control over any other Parrot or 3DR drones within wireless or flying distance, creating an army of zombie drones under your control.
JavaScript
1,636
star
7

usbdriveby

USBdriveby exploits the trust of USB devices by emulating an HID keyboard and mouse, installing a cross-platform firewall-evading backdoor, and rerouting DNS within seconds of plugging it in.
Arduino
1,223
star
8

keysweeper

KeySweeper is a stealthy Arduino-based device, camouflaged as a functioning USB wall charger, that wirelessly and passively sniffs, decrypts, logs and reports back (over GSM) all keystrokes from any Microsoft wireless keyboard in the vicinity.
Eagle
1,076
star
9

opensesame

OpenSesame attacks wireless garages and can open most fixed-code garages and gates in seconds using a Mattel toy
C
818
star
10

webscan

Browser-based network scanner & local-IP detection
JavaScript
411
star
11

proxygambit

Anonymize and fracture network traffic/Internet access over a point-to-point wireless link or through TCP->GSM->wifi tunnel (advanced resurrection of ProxyHam)
Arduino
349
star
12

combobreaker

Motorized, portable, 3D printed, Arduino-based combination lock cracker
C++
232
star
13

dingdong

Digital Ding Dong Ditch -- RTL-SDR + Arduino + GSM/SMS/FONA + RF + GQRX to hack a wireless doorbell from a text message
C++
229
star
14

quickjack

Quickjack is a point-and-click tool for intuitively producing advanced clickjacking and frame slicing attacks.
JavaScript
227
star
15

frisky

Instruments to assist in binary application reversing and augmentation, geared towards walled gardens like iOS and macOS
C++
197
star
16

glitchsink

Voltage glitcher to bypass instructions/bootloader protections *without* target modification
C++
114
star
17

jiagra

Javascript/Website Performance Enhancement
JavaScript
107
star
18

easel-driver

Easel driver for Linux, Mac, Windows, ARM, Raspberry Pi, Intel, FTDI, CH340, CH341, CP210x, FTDI clones, local, and remote access to GRBL-based CNC controllers
Shell
92
star
19

myo-osc

OSC bridge for the Thalmic Myo gesture control armband (cross-platform)
C++
80
star
20

BPL

The Blind Public License is a restrictive license that does not allow any person to read, view, interpret, emulate, debug, disassemble, reverse engineer, or execute ("Observing") any included code, schematics or engineering diagrams (the "Technology").
57
star
21

sqlpp

feature-rich, multi-database interfacing, multi-connection, colorful console-based SQL client
Perl
53
star
22

samyk

50
star
23

bgrid

wireless balloon LED network w/ATtiny24 + nRF24L01+ (PCB + firmware + TouchDesigner)
C++
46
star
24

buspirate

Bus Pirate (cross-platform, cleaned up for OS X)
C
42
star
25

crak

Crash Royale Attack Kit
JavaScript
39
star
26

openrTMS

Open rTMS (Transcranial Magnetic Stimulation)
C++
25
star
27

amazonshelper

TamperMonkey script (browser extension) for Amazon to add price by volume for materials and to hide useless UI elements
JavaScript
24
star
28

lcventilator

Low cost ventilator based on Dr. Jeffrey Ebin's design
C++
21
star
29

specs

Public specifications for easy accessibility
18
star
30

pinning

#PINNING is a browser extension (currently TamperMonkey script) to improve Pinterest's desktop browsing UX
JavaScript
15
star
31

glitchisnk

Voltage glitcher to bypass instructions/bootloader protections without target modification
14
star
32

microscopy

files for (ฮผ)scope projects
11
star
33

motoaudio

Inspecting the Moto Audio application running on Motorola Android devices
9
star
34

testimg

chrome blocks downloading images from my github :(
9
star
35

openraman

Low cost, high performance open source Raman spectrometer
C++
5
star
36

mains-logs

log files for mains project
2
star
37

mains

monitoring mains line voltage
Perl
1
star