Live Chat!

Wordpress exploit: we been hit by hidden spam link injection

          0 votos

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 Misc, curl, curlftpfs, file, find | Hits: 15998 | 9 Comments »

Simple use of find to search for files in command line

* * * *   1 votos

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 Misc, file, find | Hits: 19179 | No Comments »

writting executable script

          0 votos

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 your script into directory that exported [...]

Posted in Bash, Developer, chmod, file, python, sh, which | Hits: 9676 | 1 Comment »

convert perl scripts into binaries

          0 votos

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. “;
Convert it into executable,
chmod +x hello
Try [...]

Posted in Developer, Misc, file, perl, perlcc | Hits: 5555 | No Comments »

check the file type

          0 votos

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 which to returns the full path [...]

Posted in Common, backquote, file, which | Hits: 4570 | 1 Comment »