If you have an .iso file for the installer, do the following:
1. Mount the installer .iso using loopback device
#mount win7.iso /mnt
2. Identify the device name in linux of your USB drive (ex. /dev/sdc)
#fdisk -l
3. Open gparted on the USB drive device
#gparted /dev/sdc
4. In gparted delete all partitions then do the following:
a. Create a new partition table, select type: 'msdos'
b. Create an NTFS partition
c. Through "Manage flags" option, check 'boot'
d. Exit from gparted
5. Copy all the contents of /mnt to the root of the newly prepared USB drive
6. Unmount the newly prepared USB drive (which was mounted automatically by the Ubuntu file manager when inserted earlier)
6. Install ms-sys (https://launchpad.net/~lenski/+archive/ubuntu/ms-sys/+files/ms-sys_2.2.0-1ubuntu1_amd64.deb)
7. Install the boot sector
#ms-sys -7 /dev/sdc
8. Unmount /dev/sdc
9. Umount /mnt
Pages - Menu
▼
Thursday, June 29, 2017
Friday, June 23, 2017
CNSEC 2017
In line with the offering of a new Special Topics course on Computer and Network Security, SRG hosted the Computer and Network Security 2017(CNSEC2017) Workshop last June 17-18, 2017. The objective of the workshop is to provide computer security related hands-on activities for the ICS faculty. SRG prepared two activities, one on buffer overflow exploitation and another on SQL injection. Contests were held to test the participants knowledge. Winners of the “Olympus has fallen” stack overflow exploitation contest are Mam Maan, Sir TJ, and Miguel. Clinton won the “Attack on Titan” SQL injection contest.
Wednesday, June 7, 2017
Setting up a Drone Programming Environment using DroneKit on Windows 7
- Install for all users
- Destination directory: C:\Python2.7
- Add python.exe to Path
- >python -V
- >pip install virtualenv
- >md SRG-Bots
- >cd SRG-Bots
- >virtualenv dronekit_env
- >dronekit_env\Scripts\activate.bat
- >pip install dronekit dronekit-sitl mavproxy wget
- >dronekit_env\Scripts\dronekit-sitl.exe copter-3.3
- >cd SRG-Bots
- >dronekit_env\Scripts\activate.bat
- >python dronekit_env\Scripts\mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
- >cd SRG-Bots
- >dronekit_env\Scripts\activate.bat
- >python
- >>>import wget
- >>>wget.download('https://github.com/dronekit/dronekit-python/raw/master/examples/simple_goto/simple_goto.py')
- >>>quit()
- >python simple_goto.py --connect "udp:127.0.0.1:14551"