Skip to content

Instantly share code, notes, and snippets.

View B1TC0R3's full-sized avatar
♻️
Sleep-Eat-Hack-Repeat

Thomas Gingele B1TC0R3

♻️
Sleep-Eat-Hack-Repeat
View GitHub Profile
@B1TC0R3
B1TC0R3 / blind_ssrf_port_scanner.py
Created August 3, 2024 15:40
Specialized script for a single CTF.
import requests
def verify_result(response: requests.Response):
return 'REDACTED.jpeg' not in response.text
def send_request(port: int):
response = requests.post(
'http://REDACTED/upload-cover',
files = {
@B1TC0R3
B1TC0R3 / awesomewm_wallpaper_randomizer.lua
Last active July 29, 2024 12:23
Select a random wallpaper from a list or predefined ones. Supports multiple screens.
local last_used_index = 0
theme.wallpapers = {
themes_path.."THEME_NAME/wallpapers/1.png",
themes_path.."THEME_NAME/wallpapers/2.png",
themes_path.."THEME_NAME/wallpapers/3.png",
themes_path.."THEME_NAME/wallpapers/4.png",
}
theme.wallpaper = function( s )
math.randomseed(os.time())
@B1TC0R3
B1TC0R3 / gruvbox_colors_var.css
Created July 28, 2024 13:06
Gruvbox CSS colors (variables)
/* Copyright B1TC0R3 - b1tc0r3@proton.me */
:root {
--gray : #928374;
--shadow: #111111;
--dark0_hard : #1d2021;
--dark0 : #282828;
--dark0_soft : #32302f;
--dark1 : #3c3836;
--dark2 : #504945;
@B1TC0R3
B1TC0R3 / gruvbox_colors.css
Last active July 28, 2024 13:07
Gruvbox CSS colors
/* Copyright B1TC0R3 - b1tc0r3@proton.me */
.fg_gray { color : #928374; }
.fg_dark0_hard { color : #1d2021; }
.fg_dark0 { color : #282828; }
.fg_dark0_soft { color : #32302f; }
.fg_dark1 { color : #3c3836; }
.fg_dark2 { color : #504945; }
.fg_dark3 { color : #665c54; }
.fg_dark4 { color : #7c6f64; }