This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bouncycastle.asn1.ASN1Encodable; | |
import org.bouncycastle.asn1.DERSequence; | |
import org.bouncycastle.asn1.x500.X500Name; | |
import org.bouncycastle.asn1.x509.BasicConstraints; | |
import org.bouncycastle.asn1.x509.Extension; | |
import org.bouncycastle.asn1.x509.GeneralName; | |
import org.bouncycastle.asn1.x509.KeyUsage; | |
import org.bouncycastle.cert.X509CertificateHolder; | |
import org.bouncycastle.cert.X509v3CertificateBuilder; | |
import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -i ~/.ssh/path/to/key -D 8080 -L localhost:8081:mega.nz:443 ubuntu@yourHost | |
#Now you can hit mega.nz from localhost:8081 as http_prxy | |
#or you can use socks5 proxy on port 8080 to hit mega |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apk d original.apk | |
apk b /path/to/extracteAPK_contents -o mod.apk | |
keytool -genkey -keystore awcator1.keystore -validity 10000 -alias awcator1 -keyalg rsa | |
jarsigner -keystore awcator1.keystore -verbose mod.apk awcator1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Match Every Site | |
// @namespace https://targetwebsite.com/ | |
// @version 1.1 | |
// @description Bypass fullscreen/tabswtich/invisbility screen | |
// @author Dev | |
// @match *://*/* | |
// @grant unsafeWindow | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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. |