Skip to content

Instantly share code, notes, and snippets.

View zeldal1's full-sized avatar
💭
I may be slow to respond.

zeldal1

💭
I may be slow to respond.
View GitHub Profile
@zeldal1
zeldal1 / compact_linux_reverse_shell.c
Created March 25, 2024 22:10 — forked from loneicewolf/compact_linux_reverse_shell.c
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
@zeldal1
zeldal1 / GEB.md
Created March 31, 2024 18:55 — forked from alvesjnr/GEB.md
Gödel, Escher, Bach

Lecture about the book Gödel Escher Bach

This is a short resume about what I understood about the masterpiece GEB, from Douglas Hofstadter

What is this book about?

"How do we get I's from None I's?"

@zeldal1
zeldal1 / md_footnotes.md
Created May 3, 2024 16:40 — forked from loneicewolf/md_footnotes.md
Markdown Footnotes

Title

abstract

Subtitle

Paragraph paragraph
paragraph paragraph
paragraph.

@zeldal1
zeldal1 / snippets.sh
Created May 3, 2024 16:40 — forked from loneicewolf/snippets.sh
bash snippets - keywords/tags -- bash commands, sh,shell,snippets,one-liners
# From Adam Liss's comment
# https://stackoverflow.com/a/9387914/14346786
# Read a file using a bash script
i=0;while read l;do ((i=i+1));echo "$i:$l";done < file.txt
# alphabet
az=$(echo {a..z} | tr -d ' \n\t\v')