WordPress exploit: we been hit by hidden spam link injection

May 26th, 2008 mysurface

We been hit by hidden spam link injection (a modified version of goro spam injection), this crack injects spam links through wordpress wp_footer() or wp_head() hook. The spam links only reveal itself if crawled by search engine bot such as googlebot, and they are hidden from our eyes. We believe the cracker’s purpose is to […]

Posted in curl, curlftpfs, file, find, Misc | Hits: 419902 | 162 Comments »

using curl to access ftp server

October 6th, 2007 mysurface

The title doesn’t sound interesting if you have no idea what is curl. Why we need to use curl to access ftp server, if we can access ftp with tools like ftp in console or gFTP? Well gFTP is a very handy ftp client with gtk front end, as I use it daily to maintain […]

Posted in Advance, curl, Network | Hits: 411804 | 86 Comments »

sending HTTP POST using curl command

September 15th, 2007 mysurface

Recently I was having fun with libcurl, discovered that with curl command I capable of doing HTTP POST with specified User-agent string. For those who have no idea what is curl, curl is a powerful client tool for accessing servers through FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP, please find […]

Posted in curl, Network | Hits: 1288651 | 39 Comments »

What is my Public IP Address?

August 22nd, 2007 mysurface

What is my public IP address? There is a lots of website can provide you the information. What if I wanna grep it for my script? We can use curl and grep for this purpose. First, lets pick few websites that provide the service to reveal my public IP. http://www.ipchicken.com/ – the chicken looks so […]

Posted in curl, egrep, grep, Misc, Text Manipulation, wget | Hits: 148997 | 20 Comments »

Curl multiple URLs

October 23rd, 2006 toydi

A previous post talked about the usage of curl to request a single URL and display its response header fields. It’s good to know that curl also accepts multiple URLs as arguments. To display response header information of several URLs: curl -I http://linuxbyexample.co.nr http://lne.blogdns.com/lbe When there is a long URL list in a file, use […]

Posted in curl, Network, xargs | Hits: 94190 | 5 Comments »

get to know what web server a site used

October 20th, 2006 mysurface

You can get the information of what web server a site used by refers to HTTP Header of a site, usually it is invisible from user. To look at the header of google web server, simply do this at your command line. curl -I www.google.com Hehe, google uses GWS/2.1. What web server is that? Google […]

Posted in curl, Network | Hits: 39425 | 9 Comments »