Skip to content

Commit c44795f

Browse files
author
peterpt
committed
Update
1 parent 976be48 commit c44795f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## CHANGELOG
2+
* v1.9.7 - Fixes in Setup , now it detects if incorrect version of mingw is installed and also updates automatically public keys for jessie repository before installing correct version of mingw for fudwin
23
* v1.9.7 - Bugs and more bugs solved in setup and chk_tools , implemented python3 in install and pip3 for original powerstager and solved theissues during a clean install in kali of fatrat the problems related to mingw issues from jessie repo from debian
34
* v1.9.7 - Implemented capability to test apk before going further with payload
45
* v1.9.7 - Added MsfVenom capability to embbed directly a payload into an apk , added option on ap backdoor menu

setup.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ rm /tmp/expkeys.log && mv /tmp/expkeystmp.log /tmp/expkeys.log
3131
cntk=$(wc -l /tmp/expkeys.log | awk '{print$1}' | sed 's/ //g')
3232
if [[ "$cntk" == "0" ]]
3333
then
34-
echo "No Keys to be processed"
34+
echo "Done"
3535
else
36+
echo "Error"
3637
echo "Unable to process key for $dist"
3738
echo ""
3839
fi
3940
}
4041

4142
function repokey () {
43+
echo -ne "$green" "[ ? ] Update Jessie/Kali Repo Public Key."
4244
apt-get update &> /tmp/aptkey.log
4345
awk '{print $1}' RS='NO_PUBKEY' /tmp/aptkey.log | sed '1d' > /tmp/expkeys.log
4446
awk '{print $1}' RS='EXPKEYSIG' /tmp/aptkey.log | sed '1d' >> /tmp/expkeys.log
@@ -47,7 +49,7 @@ rm /tmp/expkeys.log && mv /tmp/expkeystmp.log /tmp/expkeys.log
4749
cntk=$(wc -l /tmp/expkeys.log | awk '{print$1}' | sed 's/ //g')
4850
if [[ "$cntk" == "0" ]]
4951
then
50-
echo "No Keys to be processed"
52+
echo "Done"
5153
fi
5254
for i in $(seq $cntk)
5355
do
@@ -57,15 +59,16 @@ kout=$(grep -w "Total number processed:" /tmp/gtkey.log | awk -F'Total number p
5759
dist=$(grep -o '".*"' /tmp/gtkey.log | sed 's/"//g')
5860
if [[ "$kout" == "1" ]]
5961
then
62+
echo "Done"
6063
echo "Succefull Key processed for $dist"
6164
else
6265
rchk
6366
fi
6467
done
65-
exit 0
68+
6669
}
6770
function mingwchk () {
68-
echo -ne "$green" "[ ? ] ....Checking Mingw Version.................."
71+
echo -ne "$green" "[ ? ] Checking Mingw Version............"
6972
which x86_64-w64-mingw32-gcc >> /dev/null 2>&1
7073
if [ "$?" -eq "0" ]; then
7174
chkvs=$(x86_64-w64-mingw32-gcc --version | sed -n 1p | awk '{print$3}')
@@ -86,6 +89,8 @@ read -r sel
8689
optmingw
8790
;;
8891
esac
92+
else
93+
echo "Not Installed"
8994
fi
9095
}
9196

@@ -806,7 +811,7 @@ sleep 1
806811

807812
which x86_64-w64-mingw32-gcc >> /dev/null 2>&1
808813
if [ "$?" -eq "0" ]; then
809-
echo -e "$green" "[ ✔ ] Mingw-w64 Compiler................[ found ]"
814+
echo -e "$green" "[ ✔ ] Mingw-w64 Compiler...............[ found ]"
810815
which x86_64-w64-mingw32-gcc >> "$log" 2>&1
811816
echo "Mingw64 -> OK" >> "$inst"
812817
else
@@ -1039,6 +1044,7 @@ fi
10391044
rm -f /etc/apt/sources.list
10401045
touch /etc/apt/sources.list
10411046
echo "deb https://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list
1047+
repokey
10421048
xterm -T "☣ UPDATING KALI REPOSITORIES ☣" -geometry 100x30 -e "sudo apt-get clean && sudo apt-get clean cache && sudo apt-get update"
10431049
sleep 1
10441050
mtspl

0 commit comments

Comments
 (0)