Skip to content

Instantly share code, notes, and snippets.

View strzlee's full-sized avatar

Straussn strzlee

View GitHub Profile
@strzlee
strzlee / gist:083aeb110a15e3d460e509154a10a257
Created June 29, 2020 06:15
arch linux install cheatsheet
# arch linux install cheatsheet
timedatectl set-ntp true
parted -a optimal /dev/sdX
mklabel gpt
mkpart esp fat32 1 512
mkpart swap linux-swap 512 8704
mkpart rootfs ext4 8704 100%
set 1 boot on
quit
#version 450 core
#define D_PLATFORM_PC
#define D_FRAGMENT
// ---- Flags ----
#define _F01_
#define _F02_
#define _F07_
#define _F10_
#define _F27_
@strzlee
strzlee / google-dorks
Created June 30, 2020 08:32 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
keyblob_mac_key_source = 59C7FB6FBE9BBE87656B15C0537336A5
keyblob_key_source_00 = DF206F594454EFDC7074483B0DED9FD3
keyblob_key_source_01 = 0C25615D684CEB421C2379EA822512AC
keyblob_key_source_02 = 337685EE884AAE0AC28AFD7D63C0433B
keyblob_key_source_03 = 2D1F4880EDECED3E3CF248B5657DF7BE
keyblob_key_source_04 = BB5A01F988AFF5FC6CFF079E133C3980
master_key_source = D8A2410AC6C59001C61D6A267C513F3C
master_key_00 = C2CAAFF089B9AED55694876055271C7D
import time
from random import randint
from selenium.webdriver import Firefox
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
def slow_typing(element, text):
for character in text:
element.send_keys(character)
@strzlee
strzlee / proton
Created August 28, 2021 18:33 — forked from brunoais/proton
Proton script
#!/bin/bash
# Execute Windows programs with Proton from Steams installation folder, without
# starting Steam client.
#
# 1. Create a directory for Proton environment to run in. As an example make a
# folder "proton" in your home directory. This folder must exist in order
# to make Proton work.
#
# 2. Point the variable "env_dir" in this script to that folder or...
@strzlee
strzlee / gamescope-session.sh
Created February 7, 2022 09:45
gamescope-session
#!/bin/sh
source /etc/gamescope-session.conf
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
# Source environment from ~/.config/environment.d
set -a
for i in ~/.config/environment.d/*.conf ;
do
[[ -f "${i}" ]] && source "${i}"
@strzlee
strzlee / README.md
Created March 30, 2022 09:13 — forked from mbbx6spp/README.md
How to install Nix in your home directory

Nix

Prerequisites

  • wget is installed
  • tar is installed

Purpose

If you really don't want to install Nix under /nix (or you can't) then you can install Nix

We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 8 columns, instead of 6. in line 4.
cveID,vendorProject,product,vulnerabilityName,dateAdded,shortDescription,requiredAction,dueDate
CVE-2021-27104,Accellion,FTA,Accellion FTA OS Command Injection Vulnerability,2021-11-03,Accellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27102,Accellion,FTA,Accellion FTA OS Command Injection Vulnerability,2021-11-03,Accellion FTA 9_12_411 and earlier is affected by OS command execution via a local web service call.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27101,Accellion,FTA,Accellion FTA SQL Injection Vulnerability,2021-11-03,Accellion FTA 9_12_370 and earlier is affected by SQL injection via a crafted Host header in a request to document_root.html.,Apply updates per vendor instructions.,2021-11-17
CVE-2021-27103,Accellion,FTA,Accellion FTA SSRF Vulnerability,2021-11-03,Accellion FTA 9_12_411 and earlier is affected by SSRF via a crafted POST request to wmProgr
#!/bin/sh
# New resolution calculate command example:
# $ cvt 640 400 60
#
# outputs:
# Modeline "640x400_60.00" 20.00 640 664 720 800 400 403 409 417 -hsync +vsync
#
# Add new modes below such as:
xrandr --newmode "640x400_60.00" 20.00 640 664 720 800 400 403 409 417 -hsync +vsync