Showing posts with label Tips and Tricks. Show all posts
Showing posts with label Tips and Tricks. Show all posts

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 =)



Sunday, 16 September 2012

Linux Fun Trick #2

Hello guys,
today I'm going to show a cool program that not many people know!
as many people say, "Hackers Live in Termianls". So today I'm going to show you how to browse the internet inside your terminal! xD
check facebook, search google, etc.. ;)

[#] How To Install:

- run the following command:
sudo apt-get install w3m w3m-img

Now all you have to do is open your terminal and run this command:

w3m www.securitygeeks.net

or change the URL to any website you want!
if you want to view images as well, open your terminal and run:
xterm

this terminal supports images, now just run the same command above to browse the web in your terminal and with pictures!
It will look something like this if you're using backtrack:
Enjoy :)


Tuesday, 4 September 2012

Linux Fun Trick #1


Hello guys, Today I'm going to show you a trick made by me, just for fun :)
I will be posting some fun tricks on linux later on, this will be the first one :)
so what this trick do is when you type "whoami" in linux it will answer you with your user.
in this trick you will be able to ask "whothefuckami" and your PC will answer you "you are motherfucking USER" where USER = your user on that PC. here are two examples where user is root, and "retz" (Retz is RetnOHacK my friend)

On Backtrack:

On Ubuntu:
you can find out how to make your linux GNOME look like XP like the picture above click here

So lets see how to do that trick. I've made a script to do it all for you, you just have to run it as root.

[#] For Backtrack Users, and Linux With root User:

1. Copy the code in the bottom save it as "setup.sh" on your Desktop
2. Open Terminal And Run the following commands:


cd Desktop
then
chmod +x setup.sh && ./setup.sh


#########################################################################


[#] Other Linux Distros (User NOT root)
1. Copy The Code in the bottom save it as "setup.sh" on your Desktop
2. Open your terminal and run the following commands:

sudo su

Enter your password then run those commands:

cd Desktop && chmod +x setup.sh && ./setup.sh



########################################################################
The Script:

#!/bin/sh
echo "[+]Downloading Needed scripts"
wget -q http://pastie.comli.com/securitygeeks
echo "[+]Downloading Done!"
sleep 1;
echo "[+]Setting Script Up!";
mv securitygeeks whothefuckami;
sleep 1;
cp whothefuckami /usr/bin;
chmod 777 /usr/bin/whothefuckami;
echo "[+]Cleaing Up Our Mess xD";
sleep 1;
rm whothefuckami;
echo "[+]Everything Installed, and Mess cleaned! :P"; sleep 1;
echo "[+]Installing Done!"; sleep 1;
echo "[#]Visit WwW.SecurityGeeks.NET"; sleep 1;
echo "[#]Here I will show you how this works!"; sleep 1;
echo "[#]Type 'whothefuckami'"; sleep 1;
echo "The Reslut Will be this:"; sleep 2;
whothefuckami;


Sunday, 2 September 2012

How To Make Linux GNOME Look Like Windows XP


Hello guys, today I'm going to show you how to make your linux look like windows with just one click!
this trick first appeared in GnackTrack OS to make social engineering easier, because people will totally think that its just a normal windows XP working here.
Now the same guy who made GnackTrack released the script for all the Distros out there. It says it's for backtrack, but I've tried it on a simple Ubuntu and it worked. you just have to run it as root else you won't see your old linux look again! xD

the picture above is a Backtrack 5 R3 Gnome edition, as you can see it totally like windows XP (really cool right? :P)

So I will tell you how to do this to your linux also

[#] First Method

If you're using backtrack or a distro which run as root user it will be really simple, just Click Here to download the program then install it and you will be able to start using it. (Look at video bellow for more understanding)

For other systems, you will have to do somethings first to be able to run it. Follow those steps:

1. Click Here to download the program, then install it.

2. Open your terminal and the following command:



sudo su


then you will be asked for root password put it, now you're root. now run the following command:


cd /pentest/misc/LookLikeXP/ && ./LookLikeXP.sh

First you will get a pop-up warning saying that your system will look totally like windows XP click "Yes"
Then Your terminal will look like this:

You're done! Your system is in windows XP theme now!

Now how to restore this?
Easy, run the following commands:

First sign in as root:


sudo su

Put your password, then run this command:


cd /pentest/misc/LookLikeXP/ && ./Restore_Settings.sh

That will restore Your system to GNOME look again!

Always remember RUN THIS AS ROOT! RUN THIS AS ROOT! RUN THIS AS ROOT!
Else you will not be able to see your original look again!





Friday, 31 August 2012

Most Important Steps To Secure Joomla!



Hello guys, today I'm going to tell you most important steps to secure your Joomla! website. With those steps you can prevent almost 98% of the attacks!
Joomla! is one of the most popular webapps used on the internet, and from my point view only 5% of them are actually secured! xD
For hackers, when they see a joomla website on the server, they think it an easy target (It is an easy target if you didn't secure it!) and start attacking it!

So let's start with our steps! =)



1. Make Your Password Super hard!

Joomla! hashes are hard to crack, but not very hard though. So a hard password for Login brute-forcing cannot secure your hash from getting cracked if the attacker got an SQLi in your website.
what I will suggest is, making your password long, full of special characters, and full of numbers and letters. A hard password would be like this following:

W#W#W.S3cUr!tYg3Ek$.N3t|R0(k$s$z

You might be wondering, How in the hell would I remember this?! o_O
well easy, save it in you computer, mobile and somewhere else (In case you lost them) to use them when needed!
The above password would take forever to get cracked, usually hackers will target another site when the hash doesn't crack xD and still you can make it much longer, like copy that and paste it three times and use it as a password :D

2. Securing From Symlink

For those who don't know what symlink can do, If an attacker got access to the server, he can make a symbolic link to your configuration file, sign in to your database and then change your password!
what you have to do is change your configuration file permissions to 400 | HOW? Open your Cpanel and you can find the option to change the file permissions. OR you can change it using FTP using filezilla. another way (Most dangerous but best) is uploading a shell on your site, and changing the permissions from there! :)
How can I change with shell?
run this command in your Public_html directory:

chmod 400 configuration.php

3. Securing From Shell Upload

In Joomla, hackers upload the shell as in media section, after allowing PHP extension in global configuration. what we should do is, securing from shell upload even if they have access to the admin panel somehow.
chmod /images/ directory to 400 when you don't need to upload anything. that will make it not write-able for uploading even if .php is enabled.
disabled your FTP when you are not using it, and avoid opened FTP as much as possible. by doing those two things you will prevent many shell upload attempts by any attacker.

4. Scanning And Being Up-To-Date

Scan your website every time you install a plugin, and keep checking exploits Databases like 1337day and exploit-db to see if your joomla have any vulnerabilities or not.
after installing your joomla, scan it with JoomScan to see what vulnerabilities and patch them before you even launch your website.

4. Fast Tips/Tricks

# NEVER use the same password on two different things related to your website! for example your admin panel and FTP password, database password and FTP password and so on. even don't use the same password as your email or facebook!

# DO NOT use "admin" or "administrator" as your username in your website.

# Disable FTP when it's not needed.

# Try to change your admin password every once and a while!

# Check This Link to apply more security stuff!


Monday, 27 August 2012

How To Make 404 Page For Blogger (FULL 404 PAGE)



Hello guys, today I'm going to show you how to make a 404 page for your blogger blog! I found this way by my self because I really didn't like that 404 ERROR blogger give, and wanted to make a full 404 page like normal websites.

So here are the steps in the video bellow:

1. Make a new blog, call it whatever you want

2. Change to blogger old interface

3. Click on design of the new blog, then Edit Html (Design > Edit HTML)

4. Look at the bottom of the page, you will find "Revert To Classic Template" > Click on that
Now you will be able to change the whole code of the blog, with no errors! in other words fully deface it!

5. Paste your 404 page inside that blog, then save it.

6. Go to your Domain Name host and add that blog as 404.YourWebsite.COM (Note:- You can change to anything not 404.yourwebsite.com, but i thought 404.yourwebsite.com will look better)

7. Now go to Your main blog, click on Settings > Search Preferences 

8. You Will find custom 404 page there, click on "SET" and paste this code in it:



9. Change the link in the Code to your 404 page blog, to redirect the user to it.

Now whenever someone open a broken link, the blogger 404 error message will have this javascript will run and redirect him/her to the 404 page!

Now watch this video for more Understanding!


               

The code:


-----------------------------------------------------
UPDATED!
after Blogger removed the classic theme, the video above is not fully useful now. BUT, now here is the new way to FULLY change the blogger page (deface it) with the new theme.
1.Click on your blog, and then click on "Template"
2.Scroll down to the bottom of the page until you see something like this:
3. Click on "Revert to classic templates" and you will see something like this:
4. Now click on "Revert to classic template", and you're DONE!
now you will be able to change the main index :)
Enjoy =)


Saturday, 11 August 2012

Tips To Improve Backtrack






Hello everyone
as many people say "backtrack is hard to use" or "backtrack is not for daily use", but today I'm going to give you some tips to make backtrack perfect for your daily use, even KDE (which is harder to use than GNOME )



1. To make software installing much much easier and easier to search for a software Run this command:


apt-get install software-center

This command will install "Ubuntu Software Center" where you can search for software and install them with just one click


2. To install the best messengers in linux run this command:



apt-get install empathy && apt-get install pidgin

with those two you can connect and chat with yahoo, MSN, facebook, jabber (like nimbuzz, and mig33), and much more! and I would install them both and try to see which one is the best for my use.  but those two are my personal best xP



3. For screen Recording install XVidCap by running this command:


apt-get install xvidcap

This one has good quality I used it couple of times and liked it


4. TeamViwer, it can be downloaded from teamviewer.com.. and then installed with the following commands:


root@bt:~# cd Downloads

root@bt:~/Downloads# dpkg -i teamviewer_linux*.deb



5. For archive extraction (ALMOST ALL TYPES) install ARK but running this command:


apt-get install ark

I really like it, .rar, .zip, .tar, etc etc it can extract them !
you can also install "unrar" and "zip" by running the commands bellow:


apt-get install zip
apt-get install unrar



6. Installing VLC, which i failed in when i first used backtrack
but its the only player which can play .avi and .mpeg ... anyways
here is a video tutorial on how to install it and make it run as root (tut made by me xP)


How To Run VLC As Root



7. and now  google chrome my fav browser  which cant be opened as root  but here is a tut on how to fix this error and make it run as root and run smoothly


How To Run Google Chrome As Root

tut made by me as well xP



8. FTP client for linux, my personal best.. filezilla run the command bellow:


apt-get install filezilla



9. Now this one is for personal use  Offic package just like microsoft word and powerpoint.. but the open source version lol.. run the command bellow:


apt-get install openoffice.org

this command will install the whole package..



10. PDF reader, thats if it was not installed already run this command:


apt-get install xpdf



11. To install windows based programs "no all, just the most important" we will get "winetricks" which is now available in GUI version.. to make it read to use run these commands:


root@bt:~# wget http://winetricks.org/winetricks
root@bt:~# chmod +x winetricks

and then to use it just open the terminal and type:

root@bt:~# ./winetricks
(make sure that its in the same dir as you are by running the command "ls" to check if it was there)



12. to run VB .NET programs you have two options (do them both just to be sure )
installing "mono" by running this command:


apt-get install mono-complete
(mono is also used as for development not only running programs)
to run a program using mono type this:


mono PROGRAM-NAME.exe

(be sure to make the program executable using the following command:


chmod +x PROGRAM-NAME.exe

IF MONO DIDNT WORK, we have another option which is installing .NET framework using "winetricks"
open terminal, enter the dir that has winetricks and then run this command:


./winetricks corefonts dotnet20

after its done all you have to do is right click on the program you want and then choose "open with wine windows program loader" from the menu

now finally just update and upgrade your system by running this command:


apt-get update && apt-get upgrade && apt-get moo


that's it
enjoy using backtrack now :)