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 | |
#Thanks @nahamsec tweets, @___0x00 | |
if [[ $# -eq 0 ]] ; | |
then | |
echo "Usage: ./crt.sh domainname" | |
exit 1 | |
else | |
curl 'https://crt.sh/?q=%.'$1'&output=json' | jq '.[] | {name_value}' | sed 's/\"//g' | sed 's/\*\.//g' | sort -u > $1.txt | |
cat $1.txt | |
fi |
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 | |
#curl"//wp-json/wp/v2/users" //rootnep.al /@___0x00 | |
if [[ $# -eq 0 ]] ; | |
then | |
echo "Usage: ./wpuser.sh wpdomain" | |
exit 1 | |
else | |
curl 'https://'$1'/wp-json/wp/v2/users' | jq '.[]|.slug' | tr -d '"' | sort -u > $1.txt | |
echo "Users:" | |
cat $1.txt |
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
{ | |
"d": [ | |
{ | |
"__type": "District:alpha.library", | |
"RowNum": 0, | |
"RowTotal": 0, | |
"DistrictID": 68, | |
"DistrictName": "Acham", | |
"ZoneID": 0, |
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
##Change Database Prefix | |
Do not use wp_ | |
Replace testsite_ | |
##Permissions | |
wp-config.php -> 400 | |
uploads folder -> 755 | |
htaccess files -> 400 | |
##Security Plugins |
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
filename="/./hey/.js?c=a.pnG%0a\" | |
Content-Type: | |
<html><script>alert(0)</script> | |
File uploader was looking for .png, but we break it with pnG%0a - blank content type and it defaults to what it can detect in the file |
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 home path $HOME | |
Create .vimrc | |
ADD this line : | |
set nocompatible | |
Save |
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
#!/usr/bin/env bash | |
xrandr --auto --output HDMI-1-1 --mode 1920x1080 --left-of eDP-1-1 | |
# run xrandr first see your monitor names and resolution, change above codes as your dependencies |
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 | |
if [ -z "$1" ]; then | |
echo "Enter Text" | |
exit 1 | |
fi | |
#Run script as | |
#./asciigen.sh texthere | awk {'print $6'} | tr "\n" " " | |
#Usage if you want numbers only | |
foo=$1 | |
for (( i=0; i<${#foo}; i++ )); |
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 | |
for foo in $(cat twitterdomain) #demolist: https://hastebin.com/ahelalunan.css | |
do | |
http_code=$(curl $foo -w %'{http_code}' -o /dev/null -s) | |
if [[ $http_code -eq 000 ]]; | |
then | |
echo -e "$http_code Subdomain not working $foo \n" | tee -a notworking.log | |
else | |
echo -e "$http_code Check it $foo \n" | tee -a working.log | |
fi |
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 | |
$desired_referer = "http://rootnep.al"; | |
$site_z = "http://www.whatismyreferer.com/"; | |
$ch = curl_init(); | |
curl_setopt ($ch, CURLOPT_REFERER, $desired_referer); | |
curl_setopt ($ch, CURLOPT_URL, $site_z); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); | |
curl_exec ($ch); |
OlderNewer