Use a program called script, it makes a typescript of terminal session, meaning it logs everything printed on your terminal. Use `man script` to get more information about it.
– Suramya
Use a program called script, it makes a typescript of terminal session, meaning it logs everything printed on your terminal. Use `man script` to get more information about it.
– Suramya
These tools will help you identify which programs are opening what ports on the system.
1. lsof | grep ‘IPv.’
lsof shows the list of open files, piping it through grep and searching for IPv will give you a list of ports used by a program
lsof -i TCP:<PORT>
where PORT is the one you need to know about the program behind it.
2. netstat -anp
Should display open ports, machines connected to the ports as well as which application has that port open.
If you know of any other ways let me know.
– Suramya
The following commands will list all suid files on a linux system:
Method 1:
find / -perm +ugo=s
Method 2:
find / -perm +4000
Method 3:
/usr/bin/find / -type f \( -perm -004000 -o -perm -002000 \) -exec ls -lg {} \; 2>/dev/null >suidfiles.txt
– Suramya
Newsforge has a good article that explains how to remove the background from an image using GIMP.
Article: Remove Background from images
Linux Magazine has a really good article on The Coroner Tool kit which allows a sysadmin to perform forensics analysis on a compromized system.
Article: Linux Magazine
The Coroner Toolkit: Download Page
– Suramya
Often referred to as the ‘Swiss Army Knife of networking,’ netcat is a tool that administrators can use to read and write TCP or UDP data across the network. In addition, it’s extremely useful for network debugging and testing. This article by Vincent Danen at techrepublic.com covers some of the uses of netcat.
– Suramya
The following TechRepublic article tells you how to add barcodes to PHP based Webapps using PEAR::Image_Barcode. Check it out here.
– Suramya
A lot of people claim that Debian is hard to setup and I somewhat agree with them, Debian can be intimidating to those who are not familiar with linux. Falko Timme decided to make life easier for newcomers to Debian by writing an easy to follow instruction manual to guide newcomers through Debian Sarge installation.
This guide is available here.
– Suramya
suramya.com is now back up after a 2 day downtime which was a lot longer than what I was aiming for… But I blame this delay on the server, it took forever to compile and install stuff… Plus I had forgotten how much I had customized the server so I had to re-install everything from scratch to bring it back to normal.
NEways, sorry for the extended downtime. Hopefully the sever shouldn’t be going down so often now. Also I have installed monitoring software on my home machine which will monitor the webserver so I will know if anything goes down and when I need to bring stuff back up again.
Let me know if you have any problems with the site.
Thanks,
Suramya
Hi,
Suramya.com will be down for a couple of hours over the weekend so that I can do some upgrades on the webserver. I don’t think that this will take more than a few hours but lets see…
Will keep you posted.
– Suramya
Powered by WordPress