onsdag, september 24, 2008

Extract multiple zip files with 7-zip (Windows)

The other day I needed to extraxt some ESX 3.x patches within one directory.
http://www.vmware.com/ allow downloading patches using small java applet.
But every patch is zipped archive containing many files.

Using one windowsserver for ESX patch depot I needed to extract all these files in one command. Since this Server already had 7-zip installed using that would be nice.


C:\>cd "Program Files\7-Zip"


EXECUTE!

C:\Program Files\7-Zip>7z.exe x G:\VMware_Patches\ESX350\*.zip -o"G:\VMware_Patches\ESX350\"

Processing archive....
....
....
Processing archive: G:\VMware_Patches\ESX350\ESX350-Update01.zip
Extracting ESX350-Update01Extracting ESX350-Update01\descriptor.xmlExtracting ESX350-Update01\contents.xmlExtracting ESX350-Update01\contents.xml.sig
...
...
Everything is Ok
Total:Archives: 89
C:\Program Files\7-Zip>

Now I want to check directories

C:\Program Files\7-Zip>dir /AD g:\VMware_Patches\ESX350

Directory of g:\VMware_Patches\ESX350
ESX350-200802301-BG2008-09-24
...
...

Seems ok!

DONE!

Networking packet traces

Just found this site, http://packetlife.net/captures/1

Among many things traces available include

GLBP_election.cap
ISIS_level2_adjacency.cap
MPLS_encapsulation.cap
PIM-SM_join_prune.cap

Not so much security as in networking stuff tho.

I plan to do some analysis using latest HeX Live CD
( please check it out! http://www.rawpacket.org/projects/hex/hex-livecd)

HeX contains variety of crucial tools needed while doing packet analysis.

Happy packet hunting!

Etiketter: