SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 241 | Next

Shon Harris, Allen Harper, Chris Eagle, and Jonathan Ness

"Gray Hat Hacking, Second Edition"

lzm /mnt/sdb1_removable/bt/modules/
Now aircrack-ptw will be available on the next reboot. But what if we wanted to use
aircrack-ptw right away, without rebooting? After all, if you unpack the new aircrack_
ptw.lzm using lzm2dir, you??™ll find that it is simply a package containing the /usr/bin/
aircrack-ptw binary and a bunch of /var/log packaging. You have two options to
Chapter 5: Using the BackTrack LiveCD Linux Distribution
107
Figure 5-4 SLAX module categories at slax.org
Gray Hat Hacking: The Ethical Hacker??™s Handbook
108
integrate the saved module into the ???live??? system. You can double-click the file from the
KDE Konquerer file explorer, or you can use the uselivemod command. Here??™s the command-
line version:
bt ~ # which aircrack-ptw
which: no aircrack-ptw in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/
usr/b
in:/bin:/usr/X11R6/bin:/usr/local/apache/bin:/usr/local/pgsql/bin:/opt/mono/
bin:/usr/local/pgsql/bin:.:/usr/lib/java/bin:/opt/kde/bin)
bt ~ # uselivemod
Use module on the fly while running Live CD
Usage: /usr/bin/uselivemod module.lzm
bt ~ # uselivemod aircrack_ptw.lzm
module file is stored inside the union, moving to /mnt/live/memory/modules
first...
bt ~ # which aircrack-ptw
/usr/bin/aircrack-ptw
As you can see here, the uselivemod command takes an lzm module, mounts it outside
the LiveCD fake environment, and injects the contents of the module into the running
live system.


Pages:
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253