-
Notifications
You must be signed in to change notification settings - Fork 104
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
Updating the repository so it works with the newer versions of Ansible and Parrot OS #31
Open
m4nt0de4
wants to merge
8
commits into
IppSec:master
Choose a base branch
from
m4nt0de4:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1b57c9f
Solving the error about the ansible.builtin.include module due to its…
b630a06
Updating the getburpcet.sh script to match the new filename of the Bu…
5b80798
Setting up the latest JDK installation to solve the error at the Burp…
406beaf
Added rsyslog as one of the packages to be installed to solve the ser…
de5700d
Adding to the github releases an apt cleanup script to solve the sour…
281167a
Automating the apt sources.list cleaning up process
391807f
Package installation need superuser permissions
1ac30ea
Update README.md
m4nt0de4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
- include: "ufw.yml" | ||
- include: "auditd.yml" | ||
- include_tasks: "ufw.yml" | ||
- include_tasks: "auditd.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- name: "Mark the PYZ bundle as executable" | ||
shell: chmod a+x /tmp/aptsources-cleanup.pyz | ||
become: true | ||
become_method: sudo | ||
|
||
- name: "Cleanup the APT sources. This will erase all the duplicates." | ||
shell: yes | python3 -OEs /tmp/aptsources-cleanup.pyz | ||
become: true | ||
become_method: sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
- include: "configure-sudoers.yml" | ||
- include_tasks: "configure-sudoers.yml" | ||
- include_tasks: "aptsources-cleanup.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
/bin/bash -c "timeout 45 /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Djava.awt.headless=true -jar /usr/share/burpsuite/burpsuite.jar < <(echo y) &" | ||
/bin/bash -c "timeout 45 /usr/lib/jvm/jdk-22.0.2-oracle-x64/bin/java -Djava.awt.headless=true -jar /usr/share/burpsuite/burpsuite_community.jar < <(echo y) &" | ||
sleep 30 | ||
curl http://localhost:8080/cert -o /tmp/cacert.der | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
- include: "burp.yml" | ||
- include: "firefox.yml" | ||
- include_tasks: "burp.yml" | ||
- include_tasks: "firefox.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
- ntpdate | ||
- flameshot | ||
- exiftool | ||
- rsyslog | ||
state: latest | ||
become: true | ||
become_method: sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
- name: "Downloading https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.deb" | ||
get_url: | ||
url: https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.deb | ||
checksum: sha256:799f6219d3ed1bdbab474656fb9f34397b22c8a441c35f87a1a8e771b19b4baa | ||
dest: /tmp/jdk-22_linux-x64_bin.deb | ||
mode: 0640 | ||
|
||
- name: "Install the /tmp/jdk-22_linux-x64_bin.deb package" | ||
ansible.builtin.apt: | ||
deb: /tmp/jdk-22_linux-x64_bin.deb | ||
become: true | ||
become_method: sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
- include: apt-stuff.yml | ||
- include: kerbrute.yml | ||
- include: github-repos.yml | ||
- include: python-tools.yml | ||
- include: gem-tools.yml | ||
- include_tasks: apt-stuff.yml | ||
- include_tasks: kerbrute.yml | ||
- include_tasks: github-repos.yml | ||
- include_tasks: python-tools.yml | ||
- include_tasks: gem-tools.yml | ||
- include_tasks: jdk-latest.yml |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand this section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added that part to execute the script aptsources-cleanup.pyz and eliminate the duplicates that for some reason were being generated into the apt sources.list.
Otherwise, this would appear every time I ran an “apt update”.