10 Commits

Author SHA1 Message Date
Daniel Hoherd
7ca1168fed Ignore backup archives. Use 'find | xargs' to handle missing files. Correct file type in comments.
Signed-off-by: Daniel Hoherd <daniel.hoherd@gmail.com>
2019-11-09 17:20:42 -08:00
dadav
eb3836ba1e Fix path to pwnagotchi 2019-10-06 08:55:51 +02:00
Simone Margaritelli
cbf7511e17 misc: refactored code to work as a setup.py based package
Signed-off-by: Simone Margaritelli <evilsocket@gmail.com>
2019-10-05 23:23:31 +02:00
dadav
f0a0bd2fea Fix all languages 2019-10-03 16:59:19 +02:00
Jeroen Massar
a4e2fe02b6 Enable detection of bmaptool, and if present generate sparse files.
This uses https://github.com/intel/bmap-tools to generate a .bmap file
which can be copied around. The bmaptool allows storing sparse files
onto for instance an SD card, thus avoiding having to transfer the full
disk image every time one burns one.
Thus saving lots of time (and SD card cycles).

This also adds some instructions for then transfering and copying the
sparse file.

bmaptool: info: discovered bmap file '/Users/jeroen/berry.img.bmap'
bmaptool: info: block map format version 2.0
bmaptool: info: 7324219 blocks of size 4096 (27.9 GiB), mapped 1539940 blocks (5.9 GiB or 21.0%)
bmaptool: info: copying image 'berry.img' to file 'rdisk4' using bmap file 'berry.img.bmap'
bmaptool: info: 100% copied
bmaptool: info: synchronizing '/dev/rdisk4'
bmaptool: info: copying time: 6m 49.7s, copying speed 14.7 MiB/sec

versus copying the whole 30G which would take forever...
2019-10-02 11:33:07 +02:00
dadav
c76c85b861 Script improvement and bugfixes 2019-09-24 21:32:27 +02:00
dadav
9cf279fe8d Add image creation script 2019-09-23 23:38:44 +02:00
evilsocket
1abb6592a3
misc: small fix or general refactoring i did not bother commenting 2019-09-21 14:07:59 +02:00
evilsocket
ae5bba7d8e
misc: small fix or general refactoring i did not bother commenting 2019-09-20 13:48:40 +02:00
evilsocket
0fdc2b6d9f
hello world 2019-09-19 15:15:46 +02:00