Skip to content

Commit

Permalink
Zip files with multiples levels are added
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinay Kumar authored and Vinay Kumar committed Dec 30, 2022
1 parent 3b4fc0b commit 125b679
Show file tree
Hide file tree
Showing 67 changed files with 42 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eicar_test_zip_10.zip https://www.virustotal.com/gui/file/02fa043b8baa34a9d9cc20cf18d97bac4ab5e9107cdc05cacd95f3e0d28e0f1b
eicar_test_zip_25.zip https://www.virustotal.com/gui/file/9a76a01d61238d843227d9fb56f49114be017c6a2755b1995e133e7373d99d62
eicar_test_zip_100.zip https://www.virustotal.com/gui/file/c12878796df48c14955e93624d3e74e7968fc66e2ed9652abc51a70bf6a38589
eicar_test_zip_256.zip https://www.virustotal.com/gui/file/41674fa241b132f4da78ed84585d36dc4cfdcd579d514be2c00ab57bc3b8802f
eicar_test_zip_512.zip https://www.virustotal.com/gui/file/0140d4c8b2657eb72f674d627b13244a15e8547ae0500fb36c61da0a58e2864e
eicar_test_zip_1024.zip https://www.virustotal.com/gui/file/31f706e186f27c95b1bb180b3f3e461e44d5527eaf9e992a7955d7f0cd486a4d
eicar_test_zip_2048.zip https://www.virustotal.com/gui/file/a0f7c4a8581e2f4274a1dc043188705193ac08b6cad7b4392572af8b449758ca
eicar_test_zip_3000.zip https://www.virustotal.com/gui/file/0c12a9da904fb615b89cd5e9412c4728c6abd6728d4f7ed01ebb6f1142b39b57
eicar_test_zip_4000.zip https://www.virustotal.com/gui/file/5b16f546d38e38bf5198af913d577246e63aeb13f18a6c97b63eb38093dd76e2
eicar_test_zip_5000.zip https://www.virustotal.com/gui/file/0e9e72f193a527f7777145dc4bebee31af85ca4e4e5749a4a252b8e5704a74c3
eicar_test_zip_10000.zip https://www.virustotal.com/gui/file/7633b4c2ec71bd0bbe61fbd020a11a1b92b4c7f5686cb4553877aa8d793dd34f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions Useful Commands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Powershell script to generate zip file in hierarchy:

Level 1:
Compress-Archive eicar.com eicar_test_zip_1.zip -CompressionLevel NoCompression

Level 1-30:
for ($num = 1 ; $num -le 30 ; $num++){
Compress-Archive eicar_test_zip_$num.zip eicar_test_zip_$($num+1).zip -CompressionLevel NoCompression
Remove-Item .\eicar_test_zip_$num.zip
}

Level 31-100:
for ($num = 31 ; $num -le 99 ; $num++){
Compress-Archive eicar_test_zip_$num.zip eicar_test_zip_$($num+1).zip -CompressionLevel NoCompression
Remove-Item .\eicar_test_zip_$num.zip
}

Level 101-2049:
$list = 100, 200, 255, 256, 257, 511, 512, 513, 1000, 1023, 1024, 1025, 2047, 2048, 2049
for ($num = 100 ; $num -le 2050 ; $num++){
Compress-Archive eicar_test_zip_$num.zip eicar_test_zip_$($num+1).zip -CompressionLevel NoCompression
if ($list -NotContains $num){Remove-Item .\eicar_test_zip_$num.zip}
}

Level 2049-10240:
$list = 2049, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 10240
for ($num = 2049 ; $num -le 10240 ; $num++){
Compress-Archive eicar_test_zip_$num.zip eicar_test_zip_$($num+1).zip -CompressionLevel NoCompression
if ($list -NotContains $num){Remove-Item .\eicar_test_zip_$num.zip}
}
if ($list -NotContains $num){Remove-Item .\eicar_test_zip_$num.zip}

0 comments on commit 125b679

Please sign in to comment.