Skip to content

Instantly share code, notes, and snippets.

@awcator
awcator / My_BYPASS
Last active May 16, 2022 15:26
Greasemonkey module to disable tabswtich detection
// ==UserScript==
// @name Match Every Site
// @namespace https://targetwebsite.com/
// @version 1.1
// @description Bypass fullscreen/tabswtich/invisbility screen
// @author Dev
// @match *://*/*
// @grant unsafeWindow
// ==/UserScript==
@awcator
awcator / setUpVNC_CHROME.sh
Created February 26, 2021 14:11
Simple VNC setup on GSHELL
sudo apt update
sudo apt upgrade
#sudo apt install -y xfce4 xfce4-goodies vnc4server novnc websockify python-numpy chromium
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install xfce4 xfce4-goodies vnc4server novnc websockify python-numpy chromium
vncserver
vncserver -kill :1
echo "#!/bin/bash" > ~/.vnc/xstartup
echo 'xrdb $HOME/.Xresources' >> ~/.vnc/xstartup
@awcator
awcator / dropper.c
Last active May 16, 2022 15:32
MITM packet dropper
/**
* Author: Awcator
* Tool to guess the TCP sequence number and breaks that particular tcp connnection. There by providing a good defence for DDOS attacks.
*
* How?:
* Captures ack_seq,seq during 2nd stage of 3 way hand shake and performs attack for 4th hand shake
* suppose: 2nd Hand Shake: from port 4444 to port 469996 with SQN,ACK seq=781,ack_seq=694
* then, craft a packet at 4th transaction as, port from 469996 to 4444 with seq as 694 and ack_seq as 781 with flags, Finish,Ack.
* Recomute Checksum and send packet
* Works on lo, need to create ethernet packets to send over network hardware.
@haproxytechblog
haproxytechblog / blog20181128-01.cfg
Created April 24, 2019 19:57
Dynamic Configuration with the HAProxy Runtime API
global
stats socket ipv4@127.0.0.1:9999 level admin
stats socket /var/run/hapee-lb.sock mode 666 level admin
stats timeout 2m