Skip to content

Instantly share code, notes, and snippets.

View p4p1's full-sized avatar
🐧
πŸ– πŸ‹ πŸ‘ πŸ† 🍀

Leo Smith p4p1

🐧
πŸ– πŸ‹ πŸ‘ πŸ† 🍀
View GitHub Profile
@p4p1
p4p1 / auto_suite.py
Last active May 10, 2025 08:51
πŸ”ŽπŸ”ŽπŸ”ŽπŸ”Ž
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Made by papi
# Created on: Di 10 Okt 2023 01:54:42 CEST
# auto_suite.py
# Description:
# A havoc extention to search for files inside of infected agents
# Usage:
# To use this script save it on your machine and add it to the script manager of Havoc
# inside of: Scripts > Scripts Manager > Load Script
@p4p1
p4p1 / stager.c
Created August 2, 2023 16:33
πŸ’ŠπŸ’ŠπŸ’ŠπŸ’Š
/*
** p4p1: http://p4p1.github.io/
** Created on: Wed 02 Aug 2023 01:37:50 PM CEST
** stager.c
** Description:
** A C stager for havoc.
** Commands for things:
** ./Shhhloader.py -p explorer.exe -ns -sc SysWhispers3 -m QueueUserAPC ../demon.x64.bin
** ./Shhhloader.py -v -p explorer.exe -ns -sc SysWhispers3 -m QueueUserAPC ../demon.x64.bin
** x86_64-w64-mingw32-gcc net_stager.c -o hidden2.exe -lws2_32
@p4p1
p4p1 / docker-compose.yml
Created October 16, 2022 02:21
🐠🐠🐠🐠
# docker-compose.yml
# Created on: Sun 16 Oct 2022 03:11:58 AM BST
#
# ____ __ ____ __
# ( _ \ /. |( _ \/ )
# )___/(_ _))___/ )(
# (__) (_)(__) (__)
# http://leosmith.xyz/blog/gophish-setup-tutorial.html
#
# Description:
@p4p1
p4p1 / payload.txt
Created August 25, 2022 00:48
πŸ’œπŸ’œπŸ’œπŸ’œ
REM Title: no_work.txt - a script to fake work
REM Author: p4p1
DELAY 1000
REM The following chuck of code is repeated for around 1hour and then needs to
REM be manually replayed
STRING Lorem ipsum dolor sit amet, consectetur adipiscing elit,
DELAY 100000
@p4p1
p4p1 / dwm-sticky-6.2.diff
Last active December 7, 2021 10:41
πŸ“±πŸ“±πŸ“±πŸ“±
/* diff file to add gui menu support to dwm */
diff -up a/config.def.h b/config.def.h
--- a/config.def.h 2021-11-05 20:35:26.145640275 +0000
+++ b/config.def.h 2021-11-07 03:00:47.647102598 +0000
@@ -5,6 +5,7 @@ static const unsigned int borderpx = 1;
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
+static const char *panel_str = "tint2";
static const char *fonts[] = { "monospace:size=10" };
@p4p1
p4p1 / blind_sql.sh
Last active February 22, 2024 19:07
🎊🎊🎊🎊
#!/bin/bash
# blind_sql.sh
# Created on: Sun 17 Oct 2021 02:35:42 AM BST
#
# ____ __ ____ __
# ( _ \ /. |( _ \/ )
# )___/(_ _))___/ )(
# (__) (_)(__) (__)
#
# Description:
@p4p1
p4p1 / bof_template.py
Created October 16, 2021 22:56
πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Made by papi
# Created on: Sat 21 Aug 2021 10:59:32 PM BST
# bof_template.py
# Description:
# Buffer Overflow template exploit used for OSCP and other
# exams.
# Usage:
# Edit this script so that it works with your platform
@p4p1
p4p1 / mitsocket.js
Created October 13, 2021 01:03
πŸ’½πŸ’½πŸ’½πŸ’½
/* mitsocket.js
* Created on: Tue, 12 Oct 2021
* ____ __ ____ __
* ( _ \ /. |( _ \/ )
* )___/(_ _))___/ )(
* (__) (_)(__) (__)
*
* Description:
* A reimplementation of WebSocket for MITM
* Licensed under GPLv3 and should not be used
@p4p1
p4p1 / .conkyrc
Last active October 9, 2021 17:35
🍩🍩🍩🍩
-- .conkyrc
-- Created on: Fri, 09 Oct 2021
-- ____ __ ____ __
-- ( _ \ /. |( _ \/ )
-- )___/(_ _))___/ )(
-- (__) (_)(__) (__)
--
-- Description
-- Config for conky
--
@p4p1
p4p1 / har_content_extractor.py
Last active September 18, 2021 04:28
πŸ“€πŸ“€πŸ“€πŸ“€
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Made by papi
# har_content_extractor.py
# Requirements:
# json, requests(python3), urllib(python2)
# Description:
# Dump images and videos from .har files.
# The program can be edited to support python2 or 3 just uncomment the python 2
# lines and comment the python3 line to switch between the 2 :)