Skip to content

Commit

Permalink
Fix hcxtools try, nzyme fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ulcl committed Jul 23, 2024
1 parent 7ddfef6 commit eb313d6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
22 changes: 17 additions & 5 deletions Attacker/installTools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,18 @@ wget https://www.openssl.org/source/$VERSION.tar.gz
tar -xvf $VERSION.tar.gz > /dev/null
rm $VERSION.tar.gz
cd $VERSION
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
make
make test
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib

# Update the library path in .bashrc
echo 'export PATH=/usr/local/openssl/bin:$PATH' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/usr/local/openssl/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
echo 'export PKG_CONFIG_PATH=/usr/local/openssl/lib/pkgconfig:$PKG_CONFIG_PATH' >> ~/.bashrc

# Source .bashrc to apply changes
source ~/.bashrc

make -j $(nproc)
#make test
make install

#wifi_db
Expand All @@ -57,9 +66,12 @@ sudo apt-get install python3-pip sqlitebrowser -y
sudo DEBIAN_FRONTEND=noninteractive apt-get install tshark -y
sudo apt install pkg-config libcurl4-openssl-dev libssl-dev zlib1g-dev make gcc -y

#git clone https://salsa.debian.org/pkg-security-team/hcxtools ##6.2.7
git clone https://github.com/ZerBea/hcxtools.git
cd hcxtools
make
git checkout 6.2.7

make -j $(nproc)
sudo make install
cd ..

Expand Down Expand Up @@ -256,7 +268,7 @@ sudo apt-get install -y pkg-config libnl-3-dev gcc libssl-dev libnl-genl-3-dev n
cp defconfig wpa_supplicant-2.10/wpa_supplicant/.config
git apply wpa_supplicant.patch
cd wpa_supplicant-2.10/wpa_supplicant
make -j4
make -j $(nproc)
ls -al wpa_supplicant


Expand Down
16 changes: 14 additions & 2 deletions nzyme/nzyme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ uplinks: []
{
ssid: wifi-management
channels: [11]
security: [WPA3-SAE-TKIP]
security: [WPA3-SAE-CCMP]
beacon_rate: 4760
bssids: [
{
Expand All @@ -169,7 +169,7 @@ uplinks: []
{
ssid: wifi-IT
channels: [11]
security: [WPA3-PSK-SAE-TKIP]
security: [WPA3-PSK-SAE-CCMP]
beacon_rate: 47600
bssids: [
{
Expand Down Expand Up @@ -231,6 +231,18 @@ uplinks: []
}
]
},
{
ssid: wifi-old
channels: [3]
security: [NONE]
beacon_rate: 4760
bssids: [
{
address: "f0:9f:c2:71:22:11",
fingerprints: [ 4db0e3114b3db19c2b3fae7a69a692e1edcf7ec718a4a6bf43311dc31185d132 ]
}
]
},

]

Expand Down
3 changes: 2 additions & 1 deletion vagrant/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ sudo apt-get clean
sudo apt-get -y autoremove --purge ubuntu-web-launchers landscape-client-ui-install gnome-games-common libreoffice* empathy transmission-gtk cheese gnome-software-common gnome-software-plugin-flatpak gnome-software-plugin-snap gnome-terminal gnome-orca onboard simple-scan gnome-font-viewer gnome-calculator gnome-clocks gnome-screenshot gnome-system-log gnome-system-monitor gnome-documents gnome-music gnome-video-effects gnome-boxes gnome-dictionary gnome-photos gnome-weather gnome-maps gnome-logs gnome-clocks gnome-characters gnome-calendar aisleriot gnome-sudoku gnome-mines gnome-mahjongg thunderbird

# First FLAG
echo 'flag{JPTEXm5yEaYouyIEFffEvPjil}' | sudo tee /root/flag.txt
echo 'flag{2162ae75cdefc5f731dfed4efa8b92743d1fb556}' | sudo tee /root/flag.txt

echo '#!/bin/bash
cd /var/WiFiChallenge
Expand Down Expand Up @@ -291,6 +291,7 @@ gsettings set org.gnome.shell favorite-apps "$(gsettings get org.gnome.shell fav
# Remove fstab info in VBox
sudo sed -i "/$(echo 'media_WiFiChallenge /media/WiFiChallenge vboxsf uid=1000,gid=1000,_netdev 0 0' | sudo sed -e 's/[\/&]/\\&/g')/d" /etc/fstab
firefox &
EOF
#' >
Expand Down

0 comments on commit eb313d6

Please sign in to comment.