Jump to content











Photo
- - - - -

Wireshark + WinPcap


  • Please log in to reply
45 replies to this topic

#26 hectorma

hectorma

    Member

  • Members
  • 89 posts
  •  
    Spain

Posted 24 June 2009 - 12:26 PM

ok it load ok now. the problem was thaht winpcap driver not loaded in init.

Posted Image

#27 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 24 June 2009 - 01:45 PM

i don´t know, i have probing in this moment with
Hive_Load,HKU
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\zRun","NetGroup Packet Filter Driver","%CDDrive%\Programs\WinPcap\npf_mgm.exe -s"
Hive_Unload,HKU
The program wireshark and winpcap driver run in from cd, no memory.


by your screenshot you are indeed having a problem with the WinPcap driver loading.
if you are using VistaPE the driver is loaded by VistaPE Loader. not the registry.

JonF, do you know if VistaPE Loader does any logging?

#28 hectorma

hectorma

    Member

  • Members
  • 89 posts
  •  
    Spain

Posted 24 June 2009 - 04:28 PM

i don´t know if winpcap load in peloader whith combobox script. If i add this line run if not wireshark crash .....

#29 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 25 June 2009 - 12:36 PM

JonF, do you know if VistaPE Loader does any logging?

I don't think it does. And if it does I don't know how to activate it.

Certainly WIn7PE is the wave of the future, and it seems that VistaPE is moribund.

#30 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 25 June 2009 - 01:19 PM

Certainly WIn7PE is the wave of the future, and it seems that VistaPE is moribund.

very true

#31 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 25 June 2009 - 02:44 PM

Certainly WIn7PE is the wave of the future, and it seems that VistaPE is moribund.

True but needs a Hero to publish (instead of saving at homepc) all updates/fixes around boot-land (so far i read) at least in a package ;).
Who will save VistaPE princess
pic 1 http://th04.devianta...nintendo_fc.jpg
pic 2 http://izismile.com/...ve_princess.jpg

@homes32
With your next version of your script can you change
AddAutoRun,"NetGroup Packet Filter Driver","%CDDrive%\Programs\WinPcap\npf_mgm.exe","-s",3
to
//history04 AddAutoRun,"NetGroup Packet Filter Driver","%CDDrive%\Programs\WinPcap\npf_mgm.exe","-s",3
It seems this line have no effect on LiveXP, please test. Also if needed I agree with JonF runoncex fix :lol:

#32 hectorma

hectorma

    Member

  • Members
  • 89 posts
  •  
    Spain

Posted 25 June 2009 - 03:42 PM

i added maltego ce and cain " abel in the script. This run ok. Maltego with java pluggin.

#33 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 25 June 2009 - 04:26 PM

Also if needed I agree with JonF runoncex fix :lol:

will this run before or after Network is started?

#34 hectorma

hectorma

    Member

  • Members
  • 89 posts
  •  
    Spain

Posted 25 June 2009 - 04:49 PM

is diferent if run after or before thath network is started?

#35 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 25 June 2009 - 05:00 PM

is diferent if run after or before thath network is started?

yes. the WinPcap driver will not load unless network support is started (running).

#36 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 25 June 2009 - 05:05 PM

Hi Homes32, your last 2 posts made everything clear in my mind.

Seems to me ControlSet001\Services\NPF you add is enough for wireshare on LiveXP !
AddAutoRun,
is not used in any livexp scripts and I believe it does nothing now. I guess it was once used with autoruns.Script in the past to add a autorun.cmd to be executed at startup !! (not sure).

Anyway,
Here is the "modified script"+"log file"+"picture from vmware"
http://lancelot.winb...0625_194440.rar

I open LiveXP, start Penetwork manually (auto disabled) , than i double click wireshark at desktop. Everything seem to work nicely.

:lol:

edit: typo fix

#37 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 01 July 2009 - 03:01 PM

new version.
let me know if if there are any issues!

*edit*

Please confirm if you can successfully build in win7pe. everything seems to be working fine but I would like a couple of other confirmations before making support "official"

#38 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 30 July 2009 - 02:33 PM

v5 minor update to set download to new wireshark version.

Please confirm if you can successfully build in win7pe. everything seems to be working fine but I would like a couple of other confirmations before making support "official"

#39 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 22 September 2009 - 07:10 PM

updated. see 1st post.

#40 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 09 November 2009 - 06:35 PM

updated to v7. see 1st post.

#41 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 18 November 2009 - 03:37 PM

updated for new wireshark release

#42 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 18 December 2009 - 07:05 PM

Updated Wireshark to 1.2.5

#43 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 02 February 2010 - 03:34 PM

updated for wireshark 1.2.6

#44 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 05 April 2010 - 01:24 AM

updated to v11. see 1st post

#45 Fairbod

Fairbod

    Newbie

  • Members
  • 12 posts
  •  
    United Kingdom

Posted 25 July 2011 - 04:41 AM

Thxs Homes32,
It was a good script to look at to see a working example . Plus I want Wireshark :yahoo:
The Link has change . I edited the script in Notepad from :
%WiresharkURL%=http://media-2.cacetech.com/wireshark/win32/wireshark-win32-1.2.7.exe
in [variables] to:
%WiresharkURL%=http://wiresharkdownloads.riverbed.com/wireshark/win32/wireshark-win32-1.6.1.exe

It downloaded and installed fine . Sorry I haven't got to the fixing scripts stage or creating and uploading bit yet , but needed to fix that. If someone could fix the hosted one that might help others thxs .

#46 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 25 July 2011 - 01:40 PM

Thxs Homes32,
It was a good script to look at to see a working example . Plus I want Wireshark :wheelchair:
The Link has change . I edited the script in Notepad from :
%WiresharkURL%=http://media-2.cacetech.com/wireshark/win32/wireshark-win32-1.2.7.exe
in [variables] to:
%WiresharkURL%=http://wiresharkdownloads.riverbed.com/wireshark/win32/wireshark-win32-1.6.1.exe

It downloaded and installed fine . Sorry I haven't got to the fixing scripts stage or creating and uploading bit yet , but needed to fix that. If someone could fix the hosted one that might help others thxs .


Hi Fairbod,

glad you were able to easily update the link. that was the reason for making the variable available at the top of the script. I should have an updated script posted by the end of the week with the newer version links and updated winpcap.

regards,
Homes32




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users