Security
How to reset mysql root password in RedHat
My friend posted about reseting mysql root password long time ago. It still works but you have to know how to change root password properly. Since I have to do it by myself, I will explain more detail in this post.
- sugree's blog
- Add new comment
- Read more
- 2972 reads
How to create and verify SSHA hash using PHP
There are so many hash. SHA1 is one of them which is widely used in recent years even though it is not safe to use right now. By the way, it is still the default hash function for storing password in LDAP especially OpenLDAP. In order to develop a website with LDAP authentication manually against POSIX account, SSHA hash function or SHA1 is the easiest solution.
- sugree's blog
- Add new comment
- Read more
- 8949 reads
How to fake referer in Firefox
At present, there are so many free image hosting on the wild. Since these service providers usually earn income from advertisements, e.g., , the most scary thing for them is hot link. Hot link means to embedding the hosted image directly to other sites. As a result, there is no chance to display the advertisements. Most providers have to reduce hot links to decrease useless traffics by detecting referer.
- sugree's blog
- Add new comment
- Read more
- 10319 reads
How to sniff TCP connection in Linux
Today I have to investigate network related problem that caused some networks were usable for a moment. This problem was occurring at remote site so I didn't have physical access to anything. What I have is just an account on the Linux router for the NAT network in training room. The application relies on web services technology so it is absolutely pure TCP. There are so many problem regarding this investigation. The coordinator don't understand the lower level of network so I can't ask too much information. Actually, I have to try by myself. At a glance, I would like to know if the connection from the client to the web services container is success or not. So I need to have a kind of sniffer.
- sugree's blog
- Add new comment
- Read more
- 2745 reads
How to verify your DNS setting and its TTL
If you were unable to access this site since last weekend, please be patience. I have just moved howforge.com to the new server located at other ISP which offers higher international bandwidth because most visitors are outside Thailand. In fact, I don't like to move around too often since it might take long time for DNS to completely propagate to all ISPs around the world. That's why I post this topic. I would like to verify that my settings are correct and how long it takes to update.
- sugree's blog
- 2 comments
- Read more
- 1845 reads
How to bypass web blocking using Tor and Firefox
Some day, you might find the truth that you are not alone. Someone is watching you and the same one is also trying to restrict your access to some web sites. You may notice that you are unable to visit some urls or the whole sites. In conclusion, your internet connection is monitoring and filtering to prevent visiting to some urls. Don't worry. It is possible to bypass this kind of problem easily. My trick is The Onion Router, Firefox and its extensions.
- sugree's blog
- Add new comment
- Read more
- 4925 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 36 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago