Archive
Setup VNC Server in BT5 r3 KDE
- Install vncserver – ‘apt-get install vnc4server’
- Run – ‘vncserver’
- Setup 8-character password
- Edit xstartup – ‘vi ~/.vnc/xstartup’
- Comment out entire file
- Append the following three lines to the file:
- export XKL_XMODMAP_DISABLE=1
- exec ck-launch-session startkde
- exec pcmanfm –desktop
- Run – ‘vncserver -kill :1’
- Run – ‘vncserver’
You then just need to install the free VNC Viewer on the client machine and make sure to add ‘:5901’ to the end of the IP address of your new vncserver.
VxWorks Debugging with BT5r3
I had to make a few modifications to the code referenced here in order to get it running in Backtrack 5 r3.
Download and extract the tarball
- Download the tarball, extract to an easy to locate directory (e.g., /pentest/forensics/vxworks/).
- Navigate to the directory and extract the files (‘tar zxvf filename.tar.gz’)
In the vxworks_mem_search.rb file, make sure the that you put the entire location to the vxworks_collide file in line 4, e.g.,
- require ‘/dir/dir/…/vxworks_collide’
To help with encoding issues, place the following at the beginning of the file
- # encoding: UTF-8
And then at the line where the file is reading the memory_data (“memory_data = File.read(input_file)”) add the following right after the closing parenthesis:
- .force_encoding(“ISO-8859-1”).encode(“utf-8”, replace: nil)
Save the file.
Run the file with the following command:
- ruby vmworks_mem_search.rb lookup.txt dump.mem (where dump.mem is the memory dumped using the corresponding metasploit exploit module)
Back|Track 5 64-bit KDE in VirtualBox – Failed to load module “vboxvideo”
When trying to run ‘startx’ with Back|Track 5 64-bit KDE iso running in VirtualBox I would get the following error – “Failed to load module ‘vboxvideo'”. I had a heck of a time searching for solutions and ultimately gave up and just ran the 32-bit. Today, however, I finally ran into a solution! Simply remove the icon-cache and plasma cache files from /root/.kde/cache-root/ directory. After you reboot, once BT5 is installed, remove the same files again, but this time from the /root/.kde/cache-bt/ directory. In order to get VirtualBox Additions you’ll need to install the following packages:
source-linux-source
source-linux-headers
Run “prepare-kernel-sources” and then the VB additions install script.
Thanks goes out to leandrotami for posting this solution here.