Skip to content

Instantly share code, notes, and snippets.

View loneicewolf's full-sized avatar
🐲
Want to know a secret? You are amazing but.. You already knew that! ❤️ :D

Will loneicewolf

🐲
Want to know a secret? You are amazing but.. You already knew that! ❤️ :D
View GitHub Profile
@loneicewolf
loneicewolf / cases.sh
Created January 10, 2022 12:38
cases and such in bash
#!/usr/bin/env bash
## https://stackoverflow.com/questions/10376206/what-is-the-preferred-bash-shebang
echo -e "THIS program: $0\n"
## cases.sh
# if $# (num. of inputs) is NOT(!) EQUALS TO(=) (so, !=) 2; print "argc IS NOT 2, ..."
if [ $# != 2 ]; then
echo "argc IS NOT 2, enter IP and PORT"
else
@loneicewolf
loneicewolf / compact_linux_reverse_shell.c
Last active March 25, 2024 22:10
A compact linux reverse shell written in the C Programming Language.
/*
NOTE See Below for version 2 (and updates, erratas, fixes, links, and so on)
NOTE don't assume or think this is the latest because it's on first on top on the list; it's not.
Version 1 'naive approach' (hard coded values, etc)
gcc -g -o L1 lin_1.c
*/
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#define RP 1234
@loneicewolf
loneicewolf / runes.py
Created February 26, 2021 11:34 — forked from huw/runes.py
import string
def find_position(char):
for set_num in range(len(table)):
if char in table[set_num]:
return set_num
return False
def forge_offsets(key, direction, offset):
if type(key) is str:
@loneicewolf
loneicewolf / keybase.md
Created December 2, 2020 19:04
Keybase proof

Keybase proof

I hereby claim:

To claim this, I am signing this object: