Skip to content

Commit d71fc17

Browse files
Merge pull request #94 from v1s1t0r1sh3r3/dev
Dev to master v7.1
2 parents 9af5d2b + 9da2fc0 commit d71fc17

11 files changed

+338
-240
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
### 7.1
2+
- Added default choice for some yes/no question. Regexp improved
3+
- Tested compatibility with Backbox 4.7 and Parrot 3.6
4+
- Improved curl and wget methods. Now autodetect if http proxy is set and needed
5+
- WPS Reaver attacks modified. Removed --auto (-a) argument causing problems on some Reaver versions
6+
- Dockerfile updated
7+
18
### 7.02
29
- Improved internet checking. Now ip address and host based methods
310
- Internet checking function splitted. Now separated from repository access
411
- Fixed error shown when handling interfaces without MAC address
512
- Tested compatibility with Ubuntu 17.04
6-
13+
714
### 7.01
815
- Fixed bug while changing interface mode if the destination interface name is in use
916
- Removed util-linux dependency for rev use

Dockerfile

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ LABEL \
1212

1313
#Url env vars
1414
ENV AIRGEDDON_URL="https://github.com/v1s1t0r1sh3r3/airgeddon.git"
15-
ENV BULLY_URL="https://github.com/v1s1t0r1sh3r3/bully.git"
1615
ENV HASHCAT2_URL="https://github.com/v1s1t0r1sh3r3/hashcat2.0.git"
1716

1817
#Update system
19-
RUN \
20-
apt-get update
18+
RUN apt-get update
2119

2220
#Set locales
2321
RUN \
@@ -49,6 +47,7 @@ RUN \
4947
apt-get -y install \
5048
ethtool \
5149
pciutils \
50+
usbutils \
5251
rfkill \
5352
x11-utils \
5453
wget
@@ -86,74 +85,42 @@ RUN \
8685
#Env var for display
8786
ENV DISPLAY=":0"
8887

89-
#Create dir for external files
90-
RUN \
91-
mkdir /io
88+
#Create volume dir for external files
89+
RUN mkdir /io
90+
VOLUME /io
9291

9392
#Set workdir
9493
WORKDIR /opt/
9594

9695
#airgeddon install method 1 (only one method can be used, other must be commented)
97-
#Install airgeddon (Dockerhub automated build process)
98-
RUN \
99-
mkdir airgeddon
100-
COPY \
101-
. /opt/airgeddon
96+
#Install airgeddon (Docker Hub automated build process)
97+
RUN mkdir airgeddon
98+
COPY . /opt/airgeddon
10299

103100
#airgeddon install method 2 (only one method can be used, other must be commented)
104101
#Install airgeddon (manual image build)
105-
#Uncomment one of them to select branch (master->latest, dev->beta)
102+
#Uncomment git clone line and one of the ENV vars to select branch (master->latest, dev->beta)
106103
#ENV BRANCH="master"
107104
#ENV BRANCH="dev"
108-
#RUN \
109-
# git clone -b ${BRANCH} ${AIRGEDDON_URL}
105+
#RUN git clone -b ${BRANCH} ${AIRGEDDON_URL}
110106

111107
#Remove auto update
112-
RUN \
113-
sed -i 's|auto_update=1|auto_update=0|' airgeddon/airgeddon.sh
108+
RUN sed -i 's|auto_update=1|auto_update=0|' airgeddon/airgeddon.sh
114109

115110
#Make bash script files executable
116-
RUN \
117-
chmod +x airgeddon/*.sh
118-
119-
#Prepare packages to upgrade Bully
120-
RUN \
121-
apt-get -y install \
122-
build-essential \
123-
libpcap-dev
124-
125-
#Upgrade Bully
126-
RUN \
127-
git clone ${BULLY_URL} && \
128-
cd /opt/bully/src && \
129-
make && \
130-
make install && \
131-
cp /usr/local/bin/bully /usr/bin/ && \
132-
chmod +x /usr/bin/bully
111+
RUN chmod +x airgeddon/*.sh
133112

134113
#Downgrade Hashcat
135114
RUN \
136115
git clone ${HASHCAT2_URL} && \
137116
cp /opt/hashcat2.0/hashcat /usr/bin/ && \
138117
chmod +x /usr/bin/hashcat
139118

140-
#Install wireless drivers
141-
RUN \
142-
apt-get -y install \
143-
firmware-brcm80211 \
144-
firmware-libertas \
145-
firmware-realtek \
146-
firmware-samsung \
147-
firmware-iwlwifi \
148-
firmware-linux \
149-
firmware-linux-nonfree \
150-
firmware-linux-free
151-
152119
#Clean packages
153120
RUN \
154-
apt-get autoremove && \
155121
apt-get clean && \
156-
apt-get autoclean
122+
apt-get autoclean && \
123+
apt-get autoremove
157124

158125
#Clean files
159126
RUN rm -rf /opt/airgeddon/imgs > /dev/null 2>&1 && \
@@ -162,12 +129,11 @@ RUN rm -rf /opt/airgeddon/imgs > /dev/null 2>&1 && \
162129
rm -rf /opt/airgeddon/pindb_checksum.txt > /dev/null 2>&1 && \
163130
rm -rf /opt/airgeddon/Dockerfile > /dev/null 2>&1 && \
164131
rm -rf /opt/airgeddon/binaries > /dev/null 2>&1 && \
165-
rm -rf /opt/bully > /dev/null 2>&1 && \
166132
rm -rf /opt/hashcat2.0 > /dev/null 2>&1 && \
167133
rm -rf /tmp/* > /dev/null 2>&1
168134

169135
#Expose BeEF control panel port
170136
EXPOSE 3000
171137

172138
#Entrypoint
173-
CMD ["bash", "-c", "/opt/airgeddon/airgeddon.sh"]
139+
CMD ["/bin/bash", "-c", "/opt/airgeddon/airgeddon.sh"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ All the needed info about how to install|use|enjoy `airgeddon` is present at [Gi
7474
[Hat Tip To]: https://github.com/v1s1t0r1sh3r3/airgeddon/wiki/Hat%20Tip%20To
7575
[Inspiration]: https://github.com/v1s1t0r1sh3r3/airgeddon/wiki/Inspiration
7676

77-
[Version-shield]: https://img.shields.io/badge/version-7.02-blue.svg?style=flat-square&colorA=273133&colorB=0093ee "Latest version"
77+
[Version-shield]: https://img.shields.io/badge/version-7.1-blue.svg?style=flat-square&colorA=273133&colorB=0093ee "Latest version"
7878
[Bash4.2-shield]: https://img.shields.io/badge/bash-4.2%2B-blue.svg?style=flat-square&colorA=273133&colorB=00db00 "Bash 4.2 or later"
7979
[License-shield]: https://img.shields.io/badge/license-GPL%20v3%2B-blue.svg?style=flat-square&colorA=273133&colorB=bd0000 "GPL v3+"
8080
[Docker-shield]: https://img.shields.io/docker/automated/v1s1t0r1sh3r3/airgeddon.svg?style=flat-square&colorA=273133&colorB=f9ff5a "Docker rules!"

0 commit comments

Comments
 (0)