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: 179993 | 81 Comments »

Simple use of find to search for files in command line

May 2nd, 2008 mysurface

Find is a very strong command to search for files and folders. You can search for files based on certain criteria besides filename, such as file types, atime, belongs to which groups, file modes, etc. Because find command support a lots of options, therefore sometimes find command line looks very complicated, but actually it is [...]

Posted in file, find, Misc | Hits: 51190 | No Comments »

writting executable script

October 8th, 2006 mysurface

Shell script (sh), Bash script (bash), Python and perl are all scripting language. By default, to run a scripting file, for example Python script, you need to do this: python myscript.py Another example for shell script: sh myscript.sh But we make is executable and can execute by running directly like this ./myscript.py If you place [...]

Posted in Bash, chmod, Developer, file, python, sh, which | Hits: 74468 | 8 Comments »

convert perl scripts into binaries

September 26th, 2006 mysurface

You can covert perl script into ELF binary files, c source code, bytecode etc. You do this my using perlcc. You can have list of examples by just man perlcc But here, i gonna only show you few. First let us generate a perl script, create a file call hello #!/usr/bin/perl print “hello world. “; [...]

Posted in Developer, file, Misc, perl, perlcc | Hits: 36415 | 2 Comments »

check the file type

September 23rd, 2006 mysurface

A command file is a good tool to help you determine what file type of a file. To check for a file type simply do this file filename Let say i want to check the file type of command line update-rc.d, i can do this file `which update-rc.d` output: /usr/sbin/update-rc.d: perl script text executable Uses [...]

Posted in backquote, Common, file, which | Hits: 27461 | 2 Comments »