Skip to content

Commit

Permalink
Merge branch 'feature/update' into 'master'
Browse files Browse the repository at this point in the history
Bug fixes and update

See merge request gushmazuko/metasploit_in_termux!16
  • Loading branch information
gushmazuko committed Nov 15, 2023
2 parents 3e79a55 + e8e054a commit 47ea57e
Show file tree
Hide file tree
Showing 27 changed files with 77 additions and 6,612 deletions.
25 changes: 20 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,25 @@ test_job:
image: termux/termux-docker:x86_64
before_script:
- export TERM=xterm
- |
echo "Checking DNS readiness..."
max_attempts=$((2 * 60 / 5))
attempt=1
while [ $attempt -le $max_attempts ]; do
if curl -Is https://termux.dev > /dev/null; then
echo "DNS is ready and HTTP request to Termux was successful."
break
else
if [ $attempt -eq $max_attempts ]; then
echo "Timeout reached. DNS is still not ready."
exit 1
fi
attempt=$((attempt + 1))
sleep 5
fi
done
- apt update -y
script:
- |
echo $CI_COMMIT_REF_NAME
bash <(curl -fsSL https://raw.githubusercontent.com/gushmazuko/metasploit_in_termux/$CI_COMMIT_REF_NAME/metasploit.sh)
msfconsole -v
when: always
- bash <(curl -fsSL https://gitlab.com/gushmazuko/metasploit_in_termux/-/raw/${CI_COMMIT_REF_NAME}/metasploit.sh)
- msfconsole -v
when: manual
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ chmod +x metasploit.sh
```

## Launch metasploit
After installation complete execute:
After installation start Metasploit using the command:
```bash
msfconsole
```
```
93 changes: 0 additions & 93 deletions dists/gushmazuko/InRelease

This file was deleted.

74 changes: 0 additions & 74 deletions dists/gushmazuko/Release

This file was deleted.

16 changes: 0 additions & 16 deletions dists/gushmazuko/Release.gpg

This file was deleted.

Loading

0 comments on commit 47ea57e

Please sign in to comment.