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 | |
# Author: Med Anis Jbara | |
# This is a bash translation of the sudo_brute_force.py (https://gist.github.com/ramuta/e32865d911e087844fc8c526a72fea49) | |
# How to use this script: | |
# 1. You need to have a wordlist file, something like rockyou.txt | |
# 2. Make the script executable by running: chmod +x sudo_brute_force.sh | |
# 3. Run the script like this: ./sudo_brute_force.sh passwords.txt | |
if [ "$1" ]; then | |
if test -f "$1" ; then | |
echo "using $1 as password 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
#!/bin/bash | |
if [ $# -ne 0 ] && [ $# -ne 1 ] | |
then | |
echo "invalid number of arguments" | |
exit 1 | |
elif [ "$1" = "-h" ] | |
then | |
echo help | |
exit | |
elif [ "$1" -eq "$1" ] 2>/dev/null |
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
{ | |
size=$1; | |
name=$2; | |
for (i=3; i<=NF; i++) | |
{ | |
tmp=(name " " $i); | |
name=tmp | |
} | |
# filename=($0 ~ /'/)? ("\"" name "\""):("'" name "'") | |
filename=("'" name "'") |
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
/* | |
A script that restores functionality to the search bar of primini.tn | |
If you're concerned about your privacy and you want to use that website. | |
Make sure to disable javascript on that website using the extension from noscript.net | |
And use this user script to still be able to search inside the website. | |
*/ | |
document.getElementsByClassName('sui-search-box__container')[0].innerHTML = ` | |
<form action="/c/search" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-labelledby="downshift-0-label"> | |
<div class="sui-search-box"> |