Jump to content

vortextangent

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by vortextangent

  1. netsh file in pe is the same however i stumbled on a few reg keys for netsh that allow you to add functions. I copied all dlls referenced from my local win7 registry at

    HKEY_LOCAL_MACHINE\Temp\Microsoft\NetSh

    along with the keys themselves to the winpe image by loading the SOFTWARE hive from the mounted wim image windows\system32\config directory to HKLM\Temp.

    There were a few helper dlls it couldn't load so i took them back out.

    DOT3CFG.DLL
    NETTRACE.DLL
    WCNNETSH.DLL
    P2PNETSH.DLL
    WLANCFG.DLL
    WWANCFG.DLL
    DHCPMON.DLL

    I was left with this

    [HKEY_LOCAL_MACHINE\Temp\Microsoft\NetSh]
    "nshwfp"="nshwfp.dll"
    "dhcpclient"="dhcpcmonitor.dll"
    "wshelper"="wshelper.dll"
    "4"="rasmontr.dll"
    "2"="ifmon.dll"
    "netiohlp"="netiohlp.dll"
    "nshhttp"="nshhttp.dll"
    "fwcfg"="fwcfg.dll"
    "authfwcfg"="authfwcfg.dll"
    "whhelper"="whhelper.dll"
    "hnetmon"="hnetmon.dll"
    "rpc"="rpcnsh.dll"
    "napmontr"="napmontr.dll"
    "nshipsec"="nshipsec.dll"
    "peerdistsh"="peerdistsh.dll"

    I now have winhttp command in netsh.

    Also I ended up just hard coding my proxy config from local registry into winpe registry. The key is at

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings

    Just copy it to HKLM\Temp (or wherever you loaded WinPE SOFTWARE hive).

    I'm testing the final product now.

×
×
  • Create New...