0

Is it possible to extract a specific script from an .iso or bootable drive?

I want to use a Ruby script would come pre-installed if I were using Kali Linux, but without actually using Kali Linux.

Is it possible to pull it from kali.iso in Ubuntu 14.04?

Eliah Kagan
  • 119,640

1 Answers1

3

Mount the .iso, then use regular file copying tools:

Here's an example, with a different .iso

$ mkdir ~/mnt/iso
$ sudo mount -t iso9660 -o ro ipfire-2.19.i586-full-core114.iso ~/mnt/iso
$ df ~/mnt/iso
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/loop0        174656 174656         0 100% /home/w3/mnt/iso
waltinator
  • 37,856