just type
for v in {a..z}; do for x in {a..z}; do for y in {a..z}; do for z in {a..z}; do echo $v$x$y$z; done; done; done; done > wordlist
It will create a file called “wordlist” with 4 letters combination like:
aaab
aabb
abbb
bbbb
baaa
bbaa
bbba
bbbb
etc..
Posted
July 12th, 2010 in Linux |
No Comments »
scp user@host:/path/to/file /root
After you hit the enter it will ask remote servers password.
When you entered the password file under /path/to/ will copy to local /root folder
Tags: file-transfer, scp
Posted
May 26th, 2010 in Linux Issues |
No Comments »
Just type:
grep -i yourword /etc/php5/apache2/php.ini
Posted
May 26th, 2010 in Linux Issues |
No Comments »
You can try this one:
error_reporting(0);
Tags: hide-errors
Posted
May 22nd, 2010 in Php Issues |
No Comments »
Get yesterday:
$yesterday=date(“d-m-Y”, time()-86400);
Get Last week’s:
$lastweek=date(“d-m-Y”, time()-604800);
$yesterday = date(‘d/m/y’, mktime(0, 0, 0, date(“m”) , date(“d”) – 1, date(“Y”)));
Tags: date, PHP
Posted
May 21st, 2010 in Php Issues |
No Comments »
I just needed to tar a directory with all files inside of it under Debian 5.
Open shell prompt or putty whatever and write:
tar -cf “files.tar” /path/to/yourfiles
by the way “c” means youre creating a tar file and “f” means you want to use a file name as you pleased.
If you want to update this tar file you can use:
tar -uf “files.tar” /path/to/yourfiles
Tags: shell, tar
Posted
May 21st, 2010 in Linux Issues |
No Comments »
WEBSLAVE is the best and informative way to make you absolutely addict to the website development. Our site helps you to get the latest news related to the realm of the World Wide Web, WEB2.0, Ajax, Apache Server, ASP.NET, CSS, Linux, MySQL Server, PHP, Python, SEO, and more. Moreover, WEBSLAVE is like your study room where you can learn a lot through our updated tutorials and also have in your hands the most informative articles by reputable writers of our staff.
WEBSLAVE is highly interested in your comments and opinions. That’s why you can have the opportunity to leave your comments and share with the WEBSLAVE community about your experience or ask your questions. Our staff of developers and writers is going to response your questions soon. Enjoy the web experience of WEBSLAVE.
Posted
November 18th, 2008 in news |
No Comments »