Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:handbook:hacklivecd [2010/08/17 19:35] linea |
en:handbook:hacklivecd [2014/11/17 10:32] (current) brianperry |
||
---|---|---|---|
Line 189: | Line 189: | ||
If you wish to test out a lot of new possibilities and generate a lot of ISO images, you may want to semi-automate the process via a simple SHell script. This tiny script can be created on the command line or edited graphically, but don't forget to make it executable. You can create the script with cat; note that EOF signifies End Of File. To create the script gen_hacked_iso.sh using two variables to change the name of the ISO image and the path to the root directory of the cdrom: | If you wish to test out a lot of new possibilities and generate a lot of ISO images, you may want to semi-automate the process via a simple SHell script. This tiny script can be created on the command line or edited graphically, but don't forget to make it executable. You can create the script with cat; note that EOF signifies End Of File. To create the script gen_hacked_iso.sh using two variables to change the name of the ISO image and the path to the root directory of the cdrom: | ||
- | <code> | + | <code> # cat > gen_hacked_iso.sh << "EOF" </code> |
- | # cat > gen_hacked_iso.sh << "EOF" | + | |
+ | <file> | ||
#!/bin/sh | #!/bin/sh | ||
# Gen a new hacked ISO image. | # Gen a new hacked ISO image. | ||
Line 203: | Line 203: | ||
EOF | EOF | ||
+ | </file> | ||
- | </code> | ||
To use the script, just make it executable and execute: | To use the script, just make it executable and execute: | ||
+ | |||
<code> | <code> | ||
# chmod +x gen_hacked_iso.sh | # chmod +x gen_hacked_iso.sh | ||
# ./gen_hacked_iso.sh | # ./gen_hacked_iso.sh | ||
</code> | </code> | ||
+ | |||
+ | ===== See also ===== | ||
+ | * [[en:guides:persistence_splash]] - Guide on adding persistence |