Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #19

Closed
wants to merge 11 commits into from
Closed

Dev #19

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Docker Image
on:
push:
branches:
- 'dev'
- '*'
jobs:
docker:
runs-on: ubuntu-latest
Expand Down
25 changes: 14 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM kalilinux/kali-rolling:latest

LABEL "project"="aegis"
LABEL "author"="fr3d"
LABEL "version"="v1.3.2"
LABEL "version"="v1.4.1"

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ="America/New_York"

RUN apt-get update && apt-get install sudo -y
Expand All @@ -15,9 +15,9 @@ RUN groupadd --gid 1000 kali \
--gid 1000 --shell /bin/bash --skel /dev/null kali

RUN chown -R kali:kali /home/kali/ \
&& echo kali:kali | chpasswd \
&& usermod -aG sudo kali \
&& echo 'kali ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/kali
&& echo kali:kali | chpasswd \
&& usermod -aG sudo kali \
&& echo 'kali ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/kali

WORKDIR /home/kali/

Expand All @@ -27,10 +27,11 @@ COPY sources/ /tmp/sources

RUN sudo chown -R kali:kali /tmp/sources/* && sudo chmod +x /tmp/sources/*.sh

RUN /tmp/sources/0-base.sh && \
/tmp/sources/1-tools.sh && \
/tmp/sources/2-tools.sh && \
/tmp/sources/3-wordlists.sh
RUN /tmp/sources/0-base.sh

RUN /tmp/sources/1-tools.sh

RUN /tmp/sources/2-tools.sh

COPY resources /home/kali/resources/

Expand All @@ -40,9 +41,11 @@ RUN sudo rm -rf /tmp/sources && sudo rm -rf /home/kali/resources

USER kali

RUN pipx ensurepath && pipx install impacket certipy-ad git+https://github.com/Pennyw0rth/NetExec
RUN pipx ensurepath && pipx install impacket certipy-ad

RUN sudo chsh $USER -s /bin/zsh

RUN bash
RUN zsh



8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ Aegis is a docker image designed for any engagement. Gone are the days of spinni
- Tmux inside the container (my favorite feature)


## Tmux environment


![Logo](https://ka-tet.s3.amazonaws.com/arch.png)




### Custom aliases included:

```
Expand Down
123 changes: 0 additions & 123 deletions bash/aegis

This file was deleted.

4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ echo -e "pulling image now..."

docker pull fonalex45/aegis:latest

cp sources/kali.sh $HOME/.config/.
cp bash/aegis $HOME/.local/.

echo 'source "$HOME/.config/kali.sh"' >>.bashrc
echo 'source "$HOME/.local/aegis"' >>.bashrc

. ~/.bashrc
Loading
Loading