Results 1 to 14 of 14

Thread: A question for my friend Philquad

  1. #1
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default A question for my friend Philquad

    Urgently need your help, because you have an English Windows OS in use.

    Open Command Prompt and sequentially enter

    Code:
    netsh -c interface dump>%temp%\netcfg.txt
    Code:
    notepad /a "%temp%\netcfg.txt"
    If Notepad opened the netcfg.txt file, please copy section IPv4-Configuration and paste it here.

    Thanks for helping.



Look Here ->
  • #2
    Senior Member

    Join Date
    Oct 2009
    Posts
    2,742
    Thanks
    2,501
    Thanked 2,295 Times in 850 Posts
    Rep Power
    996
    Reputation
    36415

    Default

    What are you looking for Joey - has a bit of Malware get through your defences??
    In hindsight I should have posted my Facebook status as: "I've blown the head gasket on my 1997 XR3i" rather than "I've just buggered a 14 year old escort".
    The police still haven't seen the funny side, my lap top's been confiscated and the wife has gone off to her mum's.

  • #3
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default

    Quote Originally Posted by Seymour Butts View Post
    What are you looking for Joey - has a bit of Malware get through your defences??
    Never had a bit of Malware on my computers since almost 20 years now, believe it or not.


    Seriously, I'm working on huge program realized in pure DOS, in which I want to programmatically disable / enable active network connections. Example

    Code:
    :disableNetwork
    rem LAN
    IF %locale% EQU en_US (
    	SET _interface="Local Area Connection"
    ) ELSE ( SET _interface="LAN-Verbindung" )
    netsh interface set interface !_interface! Disabled > NUL 2>&1
    IF %locale% EQU en_US (
    	SET _interface="Local Area Connection"
    ) ELSE ( SET _interface="Ethernet" )
    netsh interface set interface !_interface! Disabled > NUL 2>&1
    rem WiFi
    IF %locale% EQU en_US (
    	SET _interface="Wireless Network Connection"
    ) ELSE ( SET _interface="Drahtlosnetzwerkverbindung" )
    netsh interface set interface !_interface! Disabled > NUL 2>&1
    IF %locale% EQU en_US (
    	SET _interface="Wireless Network Connection"
    ) ELSE ( SET _interface="WiFi" )
    netsh interface set interface !_interface! Disabled > NUL 2>&1
    SET "_interface="
    SET network_disabled=1
    GOTO :EOF
    Because the program is intended for English and/or German localized Windows OS I have to know the English terms, too.

  • The Following User Says Thank You to jwoegerbauer For This Useful Post:

    Seymour Butts (02-04-15)

  • #4
    Senior Member
    weirdo's Avatar
    Join Date
    Jan 2008
    Posts
    5,458
    Thanks
    4,638
    Thanked 3,135 Times in 1,633 Posts
    Rep Power
    0
    Reputation
    29602

    Default

    here's mine (windows 8)

    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4

    reset
    set global icmpredirects=enabled
    set interface interface="Ethernet-WFP Native MAC Layer LightWeight Filter-0000" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="ethernet_11" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="ethernet_3" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="other_1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled


    popd
    # End of IPv4 configuration

  • The Following User Says Thank You to weirdo For This Useful Post:

    jwoegerbauer (02-04-15)

  • #5
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    666
    Reputation
    16938

    Default

    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4

    reset
    set global icmpredirects=enabled


    popd
    # End of IPv4 configuration

    im late lol
    https://www.facebook.com/philquad68

  • #6
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default

    Hey Philquad,

    I'm really disappointed. Why don't power on your Windows laptop and then provide me with the information requested? I need the terms especially those related to WiFi.

  • #7
    Senior Member

    Join Date
    Jan 2008
    Location
    Shenzhen China
    Age
    59
    Posts
    2,052
    Thanks
    925
    Thanked 1,087 Times in 637 Posts
    Rep Power
    520
    Reputation
    12660

    Default

    win7

    # ----------------------------------
    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4

    reset
    set global icmpredirects=enabled
    set interface interface="Local Area Connection 4" forwarding=disabled advertise=disabled mtu=1400 metric=0 siteprefixlength=0 nud=disabled routerdiscovery=disabled managedaddress=disabled otherstateful=disabled weakhostsend=disabled weakhostreceive=disabled ignoredefaultroutes=disabled advertisedrouterlifetime=0 advertisedefaultroute=disabled currenthoplimit=0 forcearpndwolpattern=disabled enabledirectedmacwolpattern=disabled


    popd
    # End of IPv4 configuration

  • The Following User Says Thank You to jok11n For This Useful Post:

    jwoegerbauer (02-04-15)

  • #8
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    666
    Reputation
    16938

    Default

    me to mate
    whys mine not the same?
    paste 1st code - enter
    2nd code - enter
    im on desktop, not wireless?
    maybe im unhackable like lol

    #========================
    # Interface configuration
    #========================
    pushd interface


    popd
    # End of interface configuration



    # ----------------------------------
    # IPHTTPS Configuration
    # ----------------------------------
    pushd interface httpstunnel

    reset


    popd
    # End of IPHTTPS configuration



    # ----------------------------------
    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4

    reset
    set global icmpredirects=enabled


    popd
    # End of IPv4 configuration



    # ----------------------------------
    # IPv6 Configuration
    # ----------------------------------
    pushd interface ipv6

    reset
    set interface interface="Local Area Connection* 9" forwarding=disabled advertise=disabled mtu=1280 metric=0 siteprefixlength=0 nud=disabled routerdiscovery=disabled managedaddress=disabled otherstateful=disabled weakhostsend=disabled weakhostreceive=disabled ignoredefaultroutes=disabled advertisedrouterlifetime=0 advertisedefaultroute=disabled currenthoplimit=0 forcearpndwolpattern=disabled enabledirectedmacwolpattern=disabled


    popd
    # End of IPv6 configuration



    # ----------------------------------
    # ISATAP Configuration
    # ----------------------------------
    pushd interface isatap



    popd
    # End of ISATAP configuration



    # ----------------------------------
    # 6to4 Configuration
    # ----------------------------------
    pushd interface 6to4

    reset



    popd
    # End of 6to4 configuration



    # ----------------------------------
    # ISATAP Configuration
    # ----------------------------------
    pushd interface isatap



    popd
    # End of ISATAP configuration


    #========================
    # Port Proxy configuration
    #========================
    pushd interface portproxy

    reset


    popd

    # End of Port Proxy configuration



    # ----------------------------------
    # TCP Configuration
    # ----------------------------------
    pushd interface tcp

    reset

    set global rss=enabled chimney=automatic autotuninglevel=normal congestionprovider=none ecncapability=disabled timestamps=disabled netdma=enabled dca=enabled


    popd
    # End of TCP configuration



    # ----------------------------------
    # Teredo Configuration
    # ----------------------------------
    pushd interface teredo
    set state type=client servername=teredo.ipv6.microsoft.com. servervirtualip=0.0.0.0



    popd
    # End of Teredo configuration



    # ----------------------------------
    # 6to4 Configuration
    # ----------------------------------
    pushd interface 6to4

    reset



    popd
    # End of 6to4 configuration
    https://www.facebook.com/philquad68

  • #9
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default

    Every machine is hackable!


    To see which network adapters are present and what is their state, in Command Prompt enter

    Code:
    netsh Interface IPv4 Show Interfaces>%temp%\interfaces.txt
    or

    Code:
    netsh Interface IPv6 Show Interfaces>%temp%\interfaces.txt

    That's result for my Windows 8.1.1 laptop (German Windows OS)



    As you can see WiFi is listed.

    --------------------

    That's the batch file which delivered output shown above

    Code:
    @ECHO OFF
    ECHO Test on IPv4 adapters (connected)
    ECHO(
    netsh Interface IPv4 Show Interfaces>%temp%\interfaces.txt
    FOR /f "skip=2 tokens=4*" %%a IN (%temp%\Interfaces.txt) DO (
     	If %%a==connected (
    	     ECHO %%b
    	)
    )
    ECHO(
    PAUSE
    ECHO(
    ECHO Test on IPv6 adapters (connected)
    ECHO(
    netsh Interface IPv6 Show Interfaces>%temp%\interfaces.txt
    FOR /f "skip=2 tokens=4*" %%a IN (%temp%\Interfaces.txt) Do (
     	If %%a==connected (
    	     ECHO %%b
    	)
    )
    ECHO(
    PAUSE
    DEL %temp%\interfaces.txt > NUL 2>&1 
    Exit /b
    Last edited by jwoegerbauer; 02-04-15 at 06:24 PM.

  • #10
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    666
    Reputation
    16938

    Default

    i see the problem your having there in german
    just to clarify, driicken \ taste
    ok a few more i'll be happy as, id go atleast 8 super dry or carlton dry if available
    if not, try cmd:// tooheys: extra dry - 330mml
    but watch out for the c\\Heineken code as its misleading
    your memory beer load drops bu 10%

    ps, cant i just log onto my router to see whats connected?
    Last edited by Philquad; 02-04-15 at 06:40 PM.
    https://www.facebook.com/philquad68

  • The Following 4 Users Say Thank You to Philquad For This Useful Post:

    lsemmens (03-04-15),puca (03-04-15),SS Dave (03-04-15),Tiny (02-04-15)

  • #11
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default

    Quote Originally Posted by Philquad View Post
    cant i just log onto my router to see whats connected?
    My intention is to programmatically stop and start Network Adapters (NICs) in a batch file - as explained in post #3, so a check what devices are connected to the router doesn't help at all.

    FYI: In between got the problem language independently solved!

    Thanks all for your input.


    P.S.:
    A bottle of Tooheys Extra Dry in Germany costs € 2.79EUR == $ 3.98 AUD ( which are € 0.81 EUR == $ 1.16 AUD / 100ml ) . Only maniacs will pay so much for a bottle beer here.
    Last edited by jwoegerbauer; 03-04-15 at 06:33 PM.

  • #12
    Senior Member

    Join Date
    Oct 2009
    Posts
    2,742
    Thanks
    2,501
    Thanked 2,295 Times in 850 Posts
    Rep Power
    996
    Reputation
    36415

    Default

    Here's mine Joey - if it helps - Nothing special

    # ----------------------------------
    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4

    reset
    set global icmpredirects=enabled
    set interface interface="Local Area Connection* 1" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="WiFi" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="Ethernet" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="Bluetooth Network Connection" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="Local Area Connection* 12" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled
    set interface interface="ethernet_3" forwarding=enabled advertise=enabled nud=enabled ignoredefaultroutes=disabled


    popd
    # End of IPv4 configuration
    In hindsight I should have posted my Facebook status as: "I've blown the head gasket on my 1997 XR3i" rather than "I've just buggered a 14 year old escort".
    The police still haven't seen the funny side, my lap top's been confiscated and the wife has gone off to her mum's.

  • The Following User Says Thank You to Seymour Butts For This Useful Post:

    jwoegerbauer (03-04-15)

  • #13
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    666
    Reputation
    16938

    Default

    shit, $38 box / 24 = $1.58 here, we're forced into it us dumb aussies
    as its $45 box or 2 for 78 so we save lots, drink more

    just to prolong the agony
    why is my ipv4 bugger all like you guys
    & mostly ipv6 ?
    https://www.facebook.com/philquad68

  • #14
    Banned

    Join Date
    Feb 2012
    Posts
    2,361
    Thanks
    166
    Thanked 1,206 Times in 607 Posts
    Rep Power
    0
    Reputation
    16631

    Default

    Quote Originally Posted by Philquad View Post
    just to prolong the agony
    why is my ipv4 bugger all like you guys
    & mostly ipv6 ?
    IPv6 was established in 1998. It' a replacement for IPv4, not simply an upgrade. Since then - 17 years ago! - all hosts (servers) should have switched to IPv6, so all clients ( PCs ) - theoretically - must only use IPv6 to communicate with a server. To be backward compatible, most (older?) PCs have NICs that support both IPv4 and IPv6. To clarify things: If the client today wants to connect to a server, first of all the request is made using IPv6. If this fails, then secondly the request is made using IPv4. The server acts equally: Most times an intermediate Linux server at server side does the translation, which takes some milliseconds.

  • The Following User Says Thank You to jwoegerbauer For This Useful Post:

    Philquad (04-04-15)

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •