Skip to content

Instantly share code, notes, and snippets.

@Aptimex
Aptimex / ms2nmap.sh
Last active April 1, 2025 22:01
Masscan ports to NMAP
# This goes in ~/.bashrc or similar
function ms2nmap() {
cat $1 | grep open | cut -d " " -f 4 | cut -d "/" -f 1 | tr "\n" "," | head -c -1
}
# Redirect or tee masscan output to a file. Then use 'ms2nmap ./filename' to convert it into a port list that nmap will take with -p
# You can directly pass it to nmap like this: nmap 1.2.3.4 -p$(ms2nmap file.txt)
@Aptimex
Aptimex / FZtoESP.md
Created February 9, 2025 21:54
Flipper Zero RAW IR file to ESPHome Remote Transmitter

Example Zlipper Zero RAW IR file:

Filetype: IR signals file
Version: 1
# 
name: RAW_155
type: raw
frequency: 38000
duty_cycle: 0.330000
data: 3975 4024 485 1997 484 1996 485 ...
@Aptimex
Aptimex / codebreaker2018.md
Last active January 9, 2020 21:08
Codebreaker 2018 notes
@Aptimex
Aptimex / keybase.md
Created February 15, 2019 00:20
Keybase Proof

Keybase proof

I hereby claim:

  • I am aptimex on github.
  • I am aptimex (https://keybase.io/aptimex) on keybase.
  • I have a public key ASCgkMFDKKgigK6x9s0cnxO21ZJlezsUpzFJwV5lOVoovQo

To claim this, I am signing this object: