Fix ssl
This commit is contained in:
parent
7f50bacb5e
commit
623ed9e5b3
22
fluxion
22
fluxion
|
@ -24,7 +24,7 @@ ipNmap=`ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*)
|
||||||
# Deauth duration during handshake capture
|
# Deauth duration during handshake capture
|
||||||
# oo
|
# oo
|
||||||
DEAUTHTIME="9999999999999"
|
DEAUTHTIME="9999999999999"
|
||||||
revision=51
|
revision=52
|
||||||
version=0.23
|
version=0.23
|
||||||
IP=192.168.1.1
|
IP=192.168.1.1
|
||||||
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
||||||
|
@ -3460,12 +3460,12 @@ function checkhandshake {
|
||||||
function certssl {
|
function certssl {
|
||||||
# Test if the ssl certificate is generated correcly if there is any
|
# Test if the ssl certificate is generated correcly if there is any
|
||||||
|
|
||||||
if [ -f $DUMP_PATH/server.pem ]; then
|
if [ -f /root/server.pem ]; then
|
||||||
if [ -s $DUMP_PATH/server.pem ]; then
|
if [ -s /root/server.pem ]; then
|
||||||
|
|
||||||
webinterface
|
webinterface
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
conditional_clear
|
conditional_clear
|
||||||
top
|
top
|
||||||
echo " "
|
echo " "
|
||||||
|
@ -3487,12 +3487,14 @@ function certssl {
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
while true; do
|
while true; do
|
||||||
|
conditional_clear
|
||||||
|
top
|
||||||
|
echo " "
|
||||||
|
echo " Certificate invalid or not present, please choice"
|
||||||
echo " "
|
echo " "
|
||||||
echo " Certificate invalid or not present, please choice"
|
echo -e " "$blue"1)"$transparent" Create a SSL certificate"
|
||||||
echo " "
|
echo -e " "$blue"2)"$transparent" Search for SSl certificate" # hop to certssl check again
|
||||||
echo -e " "$green"1)"$transparent" Create a SSL certificate"
|
echo -e " "$blue"3)"$red" Exit" $transparent
|
||||||
echo -e " "$green"2)"$transparent" Search for SSl certificate" # hop to certssl check again
|
|
||||||
echo -e " "$green"3)"$red"Exit" $transparent
|
|
||||||
echo " "
|
echo " "
|
||||||
echo -n ' #> '
|
echo -n ' #> '
|
||||||
read yn
|
read yn
|
||||||
|
@ -3513,7 +3515,7 @@ function certssl {
|
||||||
|
|
||||||
# Create Self-Signed SSL Certificate
|
# Create Self-Signed SSL Certificate
|
||||||
function creassl {
|
function creassl {
|
||||||
xterm -title "Create Self-Signed SSL Certificate" -e openssl req -subj '/CN=SEGURO/O=SEGURA/OU=SEGURA/C=US' -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout $DUMP_PATH/server.pem -out $DUMP_PATH/server.pem # more details there https://www.openssl.org/docs/manmaster/apps/openssl.html
|
xterm -title "Create Self-Signed SSL Certificate" -e openssl req -subj '/CN=SEGURO/O=SEGURA/OU=SEGURA/C=US' -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /root/server.pem -out /root/server.pem # more details there https://www.openssl.org/docs/manmaster/apps/openssl.html
|
||||||
certssl
|
certssl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue