Skip to content

Commit

Permalink
add rdp
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn authored Jun 19, 2024
1 parent bb03012 commit b77fc9d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ jobs:
run: |
net localgroup Administrators nxc /add
- name: Update registry key
run: |
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
- name: Update registry key rdo
run: |
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
- name: Open Firewall
Expand All @@ -136,10 +139,10 @@ jobs:
poetry install
- name: Checking rdp
run: |
poetry run netexec winrm 127.0.0.1
poetry run netexec rdp 127.0.0.1
- name: Checking auth
run: |
poetry run netexec winrm 127.0.0.1 -u nxc -p Pwn3d!!!
poetry run netexec rdp 127.0.0.1 -u nxc -p Pwn3d!!!
nxc-ssh:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b77fc9d

Please sign in to comment.