Skip to content

Commit

Permalink
scripts facelifting/removed obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
maldevel committed Sep 26, 2018
1 parent a4d1589 commit e93a6a2
Show file tree
Hide file tree
Showing 114 changed files with 651 additions and 1,184 deletions.
6 changes: 3 additions & 3 deletions cracking/anonymous-ftp.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
Expand Down
9 changes: 4 additions & 5 deletions cracking/brute-force-ftp-hydra.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,12 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
hydra -L /usr/share/metasploit-framework/data/wordlists/unix_users.txt -P /usr/share/metasploit-framework/data/wordlists/unix_passwords.txt -e ns -f -t 10 -vV $1 ftp
EOF
else
echo "Please provide the target ftp server."
echo "Please provide the target FTP server."
fi

9 changes: 4 additions & 5 deletions cracking/brute-force-ftp.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
Expand All @@ -36,6 +36,5 @@ run
exit
EOF
else
echo "Please provide the target ftp server."
echo "Please provide the target FTP server."
fi

7 changes: 3 additions & 4 deletions cracking/brute-force-rdp-hydra.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
Expand All @@ -27,4 +27,3 @@ EOF
else
echo "Please provide the target RDP server."
fi

9 changes: 4 additions & 5 deletions cracking/brute-force-smtp-hydra.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,12 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
hydra -l $1 -P /usr/share/metasploit-framework/data/wordlists/unix_passwords.txt -f -t 10 -vV $2 smtp
EOF
else
echo "Please provide the target email account and smtp server."
echo "Please provide the target email account and SMTP server."
fi

8 changes: 3 additions & 5 deletions cracking/crunch-charset.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 3 ]; then
crunch $1 $2 -f /usr/share/crunch/charset.lst $3 -o crunch-wordlist-$1-$2-$3.txt
else
echo "Please provide minimum password length, maximum password length and charset string."
fi


8 changes: 3 additions & 5 deletions cracking/crunch-pattern.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 3 ]; then
crunch $1 $2 -t $3 -o crunch-wordlist-$1-$2.txt
else
echo "Please provide minimum password length, maximum password length and charset string."
fi


8 changes: 3 additions & 5 deletions cracking/generate-wordlist-from-site.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 2 ]; then
cewl $1 -m $2 -w $1-wordlist.txt
else
echo "Please provide a website and a password length."
fi


8 changes: 3 additions & 5 deletions cracking/generate-wordlist.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
cat $1 | rsmangler --file - > $1_passwordlist.txt
else
echo "Please provide a list of words."
fi


8 changes: 4 additions & 4 deletions cracking/open-relay-smtp.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
Expand All @@ -29,5 +29,5 @@ run
exit
EOF
else
echo "Please provide the target smtp server."
echo "Please provide the target SMTP server."
fi
9 changes: 4 additions & 5 deletions cracking/smtp-users-enumeration.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
Expand All @@ -29,6 +29,5 @@ run
exit
EOF
else
echo "Please provide the target smtp server."
echo "Please provide the target SMTP server."
fi

8 changes: 3 additions & 5 deletions cracking/ssh-bf.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# This file is part of PenTestKit
# Copyright (C) 2017 @maldevel
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -18,13 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 3 ]; then
patator ssh_login host=$1 user=$2 password=FILE0 0=$3
else
echo "Please provide a target host, a username and a password list."
fi


Loading

0 comments on commit e93a6a2

Please sign in to comment.