Thursday, 29 November 2012

How To Secure Your Admin Panel Using .htaccess and .htpasswd


Hello guys,
Today I'm going to show you how to protect your admin panel with a username and password, and make it only accessible for admin IP addresses only!
And, if you have a login page outside of the admin panel, we will look it as well!
To start this, we first need the code bellow to secure the panel:


AuthUserFile /home/admin/.htpasswd
AuthName EnterPassword
AuthType Basic

require valid-user


order deny,allow
deny from all
allow from 111.222.333.444


Now change that code to suit your website, first change the path /home/admin/.htpasswd to the path that you have.
and change the IP address 111.222.333.444 to your IP address!

after editing the code, paste it into .htaccess file inside the admin directory, or just upload it!

Now we need the code bellow:

Security:Geeks
admin:password

You can add as many as you want in the same way.
after you're done, paste that code in the .htpasswd that you mentioned in the .htaccess code /home/admin/.htpasswd
Paste it there, or just upload it!

Finally, for those who doesn't have an "Admin directory" you can lock you admin page/login and make it only accessible for your IP address only!
To lock it, you need the code bellow:
<Files login.php>
Order Deny,Allow
Deny from all
Allow from 111.222.333.444
</Files>

in the code above, the login page is called "login.php" change the name to whatever your admin login page is called.

Now change the 111.222.333.444 to your IP address, then paste the code to the same directory of your login page. or upload it.

That's it guys, hope this was helpful for you.


Saturday, 10 November 2012

ASCII Art Generators Linux | Backtrack

Hello again guys, today I'm going to show you how to generate ASCII Art in your Linux terminal. Things like this:                 

                                                     

and even more!
Today I have three programs for you, two for ASCII fonts, and one for changing pictures.

# Figlet:
The above ASCII font is generated using Figlet. To install Figlet, run the following command:
sudo apt-get install figlet
Now all you have to do is type "figlet" in the terminal, and then type whatever text you want to generate! Just like the pictur bellow:

You can type "figlet --help" in your terminal for more options!

# Toilet:
Toilet is another program with the same idea as figlet, but with more cool options!
With this one, you can generate with colors, and more fonts!
In Toilet, you can use the same fonts that are available in figlet, but in this one you can change the colors.
In this program, you can also generate your colored font in an HTML code.
To install this program, type this in the terminal:

sudo apt-get install toilet


here are some examples for the fonts, and commands:

Different fonts:

Different colors:

HTML code generator:
and here are some of fonts names:

  • banner
  • big
  • bigmono12
  • bigmono9
  • block
  • bubble
  • circle
  • future
  • ivrit
  • lean
  • mini
  • script
  • shadow
  • slant
  • small
  • smblock

# Jp2a
Jp2a is a program to change any picture that you want, to ASCII art, and it generates HTML codes as well.

To install jp2a, run the following command in your terminal:
sudo apt-get install jp2a

now to change the picture to ASCII, just enter the directory of the picture, and run this command:


jp2a Picture.jpg


and if your picture is in .PNG, you have to convert it to .JPG first to change to ASCII. to convert run this command:
convert Picture.PNG Converted-Pictrue.JPG
Now just have fun!

if you want to generate an HTML code, run the following command:

jp2a --html Picture.jpg





Thats it guys :)
have fun, I hope you liked it!


Sunday, 4 November 2012

How To Scan A Website For Vulnerabilities Using BackTrack - Uniscan

Hello guys, today I'm going to show you how to scan for vulnerabilities in a website, or all the websites in the server.
In this tutorial I will use a program in BackTrack called UniScan. it's very easy to use, but very good in scanning.
First of all, open your terminal and type this command:
cd /pentest/web/uniscan && ./uniscan.pl




Something like this will be printed on your terminal. Now all we have to do is follow the instructions.

First of all we need a target to scan, I've chose one already and I will use it in my pictures.
To start the scan, first you have to check the options which you want to use in your scan.

# HOW TO USE OPTIONS:

Check the letter beside your option, and include it after the URL like this:
./uniscan.pl -u http://www.website.com/ -b -q -d -w

or put them all together.

./uniscan.pl -u http://www.website.com/ -bqdw

This will start your scan with all the different options you included.
NOTE:- NEVER FORGET THE FORWARD SLASH AT THE END OF THE LINK IN THE COMMEND!!

Now the scan will start, and the terminal will look something like this:

This scan will scan for vulnerabilities like SQL-i / LFI / RFI and so on. It also searches for Webshells, backdoors, PHP info disclosure, Emails, and much more.

Here are some examples:

PHP.info() disclosure:



External Links/Hosts:
Source Code disclosure:
Dynamic Scan, Vulnerability Identification:

This program can also get all the sites in a server, and then you will be able to scan all of them.
To do that, run this command:

./uniscan.pl -i "ip:127.0.0.1"


Change 127.0.0.1 to your target server. All the websites will be stored in "sites.txt" in the same directory.

Now to scan those sites in the list, run this command:

./uniscan.pl -f sites.txt -bqwd

You can change the options to whatever you want.

Thats it guys, thank you for reading :)

Download Uniscan HERE


Friday, 19 October 2012

How To Install MyBB, On Your Localhost

Hello guys, today I have a video tutorial made by me on how to install Mybb on your localhost using xampp.
The video is available in HD, and feel free to ask any question as a message on our Facebook page.

I hope you enjoy the video :)

Best Played In Full Screen Mode! & In HD! :)


Friday, 12 October 2012

How To Add A Custom Domain To Blogger

Hello guys,

So today I'm going to show you how to add a custom domain name to blogger blogs. this tutorial will be from Creating the blog, to adding the domain and using it. =)

First of all, you have to make the blog in blogger.com, call it anything you want because we will change the name with a custom domain after that.

It will look like the picture above. Remember the "Title" should be something unique because it will not change with the domain name. choose it carefully, and don't worry you can change it at anytime from blogger's dashboard.

After making the blog, go to you Domain name provider, (I Will use Dot.Tk for this tutorial - It's free) and apply those settings to your DNS records:


  Type                  HostName                              IP Address
A Record      -    YourDomain.Com             -    216.239.32.21
A Record      -    YourDomain.Com             -    216.239.34.21
A Record      -    YourDomain.Com             -    216.239.36.21
A Record      -    YourDomain.Com             -    216.239.38.21
CNAME       -    www.YourDomain.Com    - ghs.google.com

It will look like this:
NOTE:- Those setting will be exactly the same in any other register. even .com and .net domains.

After applying those settings, go to your blogger account again, open up your blog's dashboard, and follow those steps:
1- Click on settings from the list on your lift hand side in blogger:

2- Click on "Add Custom Domain" :

3-Then Click on "Switch to advanced settings" :
4- put your domain, and then save.
Blogger might ask you to verify you ownership of the domain, just follow their steps and you will be good to go =)
Enjoy your blogger with the new domain name =)



Tuesday, 2 October 2012

How to Install Joomla On your Localhost

Hello guys,
today I have a video tutorial by SOG on how to setup Joomla on your localhost using Xampp =)
The video is available in HD and it's very helpful,
Installing webapps on your localhost is the best way to test their security and find any vulnerabilities/0days in them.
I hope you enjoy the tutorial :)
For any questions, feel free to send us your question as a message on Facebook





How to setup Wordpress on Localhost with Xampp

Hello Guys :)
Today I have a tutorial from my friend Soldier Of God aka SOG on installing Wordpress on your localhost using Xampp.
The best way to find 0days and test the security of any webapp is using your localhost, because its faster, safer, and even more reliable!
The Video is in HD, and feel free to ask you questions at our page on Facebook as a message, and we will answer you as soon as possible! =)