This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setx prompt "┌──[%username%@%computername%]─[$P]$_└──╼ $$ " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $# != 1 ]]; then | |
echo "[!] No arguments provided! Please provide the name of the file that you want to compile!" | |
echo "Usage: $0 <file_name.c> | |
exit | |
fi | |
out_file=`echo $1 | cut -d '.' -f 1` | |
echo "[+] Disabling ASLR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
_in="" | |
out="" | |
if [[ $# != 2 ]]; then | |
if [[ $# != 1 ]]; then | |
echo "No arguments provided!" | |
echo "Usage: $0 <input_file.c/cpp/cxx> [<output_file>]" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
pip3 install pwntools | |
pip3 install argparse | |
''' | |
from pwn import * | |
from sys import argv, stderr, stdout | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace CLI_Parser | |
{ | |
/// <summary> | |
/// This is an abstract interface class that you can inherit and create a very powerful parser using this. There's | |
/// no need to use any sort of if/else statements to verify and stuff. One thing you need is a basic verifier that will | |
/// check the user input against existing commands and then load the specific function from the user input. And if any arguments are required, | |
/// it will use those accordingly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import re | |
url = "http://192.168.0.130:8000/" | |
def download(file_name): | |
r = requests.get(url + file_name, allow_redirects=True) | |
print(f"[+] Downloading {file_name}", end='') | |
try: | |
with open(file_name, 'wb') as f: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################# | |
#### Author: @TheFlash2k #### | |
############################# | |
########################################################################### | |
###### Change this to the amount of brightness you want to inc/dec ######## | |
base=0.1 | |
########################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* COURSE EVALUATION FORM */ | |
function CourseEvaluation() { | |
option = 1; // A = 1, B = 2, C = 3, D = 4 | |
var baseOpts = document.querySelector("#ctl00_ContentPlaceHolder2_cmb_courses"); | |
if(baseOpts.length == 1) { | |
console.log("Completed. Returning to home.."); | |
document.querySelector("#ctl00_ContentPlaceHolder2_linkBack").click(); | |
} | |
baseOpts.options[1].selected = true; // Selecting the first available value | |
selector = "#ctl00_ContentPlaceHolder2_q{VAR}_{OPTION}"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import random | |
import string | |
import csv | |
import os | |
from pprint import pprint | |
token = "<TOKEN_GOES_HERE>" | |
headers = { | |
"Authorization": f"Token {token}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $# != 1 ]]; then | |
echo "No interface specified!" | |
exit 1 | |
fi | |
ip a s $1 | grep inet | cut -d $'\n' -f 1 | cut -d ' ' -f 6 | cut -d '/' -f 1 |
OlderNewer