

















понеделник, 29 октомври 2018 г.
събота, 27 октомври 2018 г.
петък, 19 октомври 2018 г.
вторник, 16 октомври 2018 г.
понеделник, 15 октомври 2018 г.
compressing_and+decompressing-file&size()without_damage_export*of*large*file*into*a*small*place
compressing_and+decompressing-file&size()without_damage from nu11secur1ty on Vimeo.
# make 1G txt data file
dd if=/dev/zero of=data.txt bs=1M count=1024
# compress with tools
gzip -c data.txt > data.txt.gz
tar -cf data.txt.tar data.txt
xz -zk data.txt
7za a -t7z data.txt.7z data.txt
# compress with bzip2
bzip2 -zk data.txt
# make unlimited size bzip2 archive (3GB in this case)
dd if=/dev/zero bs=1G count=3 | bzip2 -c > fun.bz2
# start extracting that file
bzip2 -d fun.bz2
#########################################
# nu11secur1ty - test
# Make 3G file for test
dd if=/dev/zero bs=1MB count=3000 | bzip2 -c > fun.txt.bz2
# start extracting that file
bzip2 -d fun.txt.bz2
------------------------------------------
#Manual
# make 4MB txt data file
dd if=/dev/zero of=fun.txt bs=4MB count=1
# make bzip2 archive
bzip2 fun.txt
# chech the size after compress
du -h fun.txt
# start extracting that file
bzip2 -d fun.txt.bz2
понеделник, 8 октомври 2018 г.
Абонамент за:
Публикации (Atom)