Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday 19 February 2013

New Airtel 3G TCP VPN Trick 100% Working For Free 3G Internet | February 2013


Hi To All The Mindbenders,


There are so many tricks of airtel 3G tcp vpn on web but most of them are not working, The Mindbenders is with new and fresh airtel config based on vpnbook server so you dont need to register on any website.Now you can enjoy airtel 3g for free But, As the Trick name sounds it is only working Where TCP 443 is opened. and I Bet this Airtel TCP 443 VPN Trick will Work 100% where TCP 443 is open.

This is TCP VPN Trick which is confirmed working in some states like Up east and Up west  and users  who are new to this field and have never Tried these Types of Method to Connect Internet, They should read the Complete post properly with Steps and then implement It. Lets Check out Its Features and Steps.


New Airtel TCP VPN Trick 100% Working


So guys, here i am Sharing this latest Airtel TCP VPN Trick which will give you 200-300 KBPS Downloading Speed and it is working and tested in Delhi and Haryana Region, Try This, See some Features and Drawbacks of It.


Features of New Airtel TCP Trick

  • Based on TCP Protocol
  • our speed get capped by airtel or your sim may get blocked for using free internet.
  • Working in “0″ Balance
  • 200-300 Kbps Download Speed on new sim
  • No Disconnection  Problem
  • No Registration Required.
  • Easy to use.
  • Use NMD VPN
Steps to connect Airtel TCP Trick
  • Download Airtel TCP Trick Config
  • Extract it, and Paste it into NMD VPN Config files
  • Location of NMD VPN Config files is C:/program files/nmd/config
  • if you do not have NMD VPN, Then download NMD VPN
  • Use Acces Point as: airtelgprs.com
  • Simple Connect,
  • It will be connected instantly

    ===(Next is What...?)===

Sunday 17 February 2013

E-Mail Bomber By The Mindbenders

Hi To All The Mindbenders,


                                Visit Email-Bomber

Tuesday 4 December 2012

Recovering The GRUB 2 Boot Loader To Protect Your Previously Installed Operating Systems

Hi To All The Mindbenders,
As Like My Earlier Tutorials i'm not Going To Consume your important time. I am Always here to provide all The Mindbenders readers a Quick and Easy Solutions.
i already posted a tutorial about Recovering Grub2 but That Was Too Advance To Learn Recovering Grub2.
Grub is similar to boot-manager(Bootmgr) of windows.

But i'm a Linux Lover And Proudly Help Someone Who wants To Stay With Linux Distros.

Now We Are Looking Forward To This Post.

Note:- 1. only commands(text) in red must be typed in your terminal.
           2. Text in green after ===> sign indicates the uses of commands you are using at that  
               instant.
           3. sda5 is my partition having Linux OS, so Don't Behave Like Monkeys Use step 1 to  
               identify your Linux Partition Generally it is In Form Of Ext4 or Ext3 or something like 
               these Formats and for your Convenience Command will show you Linux in front of   
               your Partition.
          4. Refer To My Video For Better Results.

Steps To Follow:-

Step 0.
Boot from live Linux or backtrack 5 flash drive or any boot-able media of your choice, it could be your Dvd.

Step1.
Figure out where you need to install grub 2 means we need to identify our Partition having Linux.

root@bt:~# sudo fdisk -l               =================> List All Partition
root@bt:~# ls                                 =================> List All the Files/folders of your  
                                                                                                  current mounted partition having root  
                                                                                                  Privellages                                         

Step2.
Mount the Partition where you need to install the grub2

root@bt:~# sudo mount /dev/sda5 /mnt          ========> here sda5 is the partition where linux  
                                                                                                  is and we mounted in mnt folder

root@bt:~# mount                          ================> List all the mounted partitions

Step3.
Mount the Partition to an alternate location

root@bt:~# sudo mount /dev/sda5 /mnt/boot

Step4.
Create an unbreakable link from /dev folder on the live image you booted from to the /dev folder on the partition you mounted to /mnt

root@bt:~# sudo mount --bind /dev /mnt/dev/

Step 5.
CHROOT from the live image's root to the mounted partition's root
chroot temporarly changes the root of the filesystem directory.

root@bt:~# pwd                             ================> Print Working Directory To Check  
                                                                                                The Current Root Privellages 
root@bt:~# sudo chroot /mnt

root@bt:~# sudo mount               ================> List All The Mounted Partitions 

root@bt:~# pwd

root@bt:~# ls                                 =================> List All the Files/folders of your  
                                                                                                  current mounted partition having root  
                                                                                                  Privellages                                      

if yoou found your linux hard drive content then you are almost on track 

Step 6. 
Now Reinstall the grub2 loader to the drive on which exists the partition you mounted previously.

root@bt:~# sudo grub-install /dev/sda      ==========> Install Grub In Your Hard Drive 
                                                                                                Which is sda your primary hard drive.

root@bt:~# pwd

now exit your chroot shell

root@bt:~# exit

Step7.

cleanly unmount all the partitions you previously mounted

root@bt:~# sudo umount /mnt/dev
root@bt:~# sudo umount /mnt/boot
root@bt:~# sudo umount /mnt


now reboot...

root@bt:~# sudo reboot

pull out your live flash disk

when Linux or backtrack says to login simply login and do not try to type startx in case of backtrack Use below Command Before typing startx.
And for other linux, Login To System and then open terminal then use commands.

root@bt:~# os-prober

root@bt:~# update-grub

root@bt:~# startx                =================> Only For Backtrack Linux                                         

Story Behind The Tutorial:-
I know how much it hurts when you Wants to upgrade but instead of that You Got Problems Like Previously installed linux or any other os is missing from your boot and i got the same situations when i was upgraded to Windows 7 to windows 8 Rtm. i was shocked when i rebooted my Laptop and didn't find my previously installed backtrack 5 grub menu, i can't tell you how much sad i was at that time then i asked everyone But i had a Huge List Of No Hahah. And Finally Referred to some Linux Forums And Found the Fix... Then I Recorded a video of fixing the same in ubuntu...


Wednesday 14 November 2012

Installing VirtualBox on Backtrack 5 R1,R2 or R3


If you have backtrack installed on HDD or dualboot you can install virtualbox into Backtrack.. The commands are listed below:
Follow My Steps:
Step 1.
Open Your Terminal
and type the exact commands (text in red) 

root@bt # prepare-kernel-sources

root@bt # cd /usr/src/linux

root@bt # cp -rf include/generated/* include/linux/

Step 2.
Open Up A New Terminal
After this is done, edit /etc/apt/sources.list as shown below and download virtualbox

root@bt # echo deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free >> /etc/apt/sources.list

root@bt # wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

root@bt # apt-get update

root@bt # apt-cache search virtualbox

root@bt # apt-get install virtualbox-4.0


Open Your Virtual Box By Navigating 
Applications > System Tools > Oracle VM VirtualBox

How to install LINUX/UNIX/BACKTRACK *.tar.gz tarball files-QUICK TUTORIAL FOR BEGINNERS


Welcome Readers,
I SEE THE MOST OF PEOPLE DON'T NOW HOW EXTRACT AND INSTALL TAR.GZ,TAR.BZ2,TBZ2,TGZ SO HERE IS QUICK TUTORIAL FOR YOU:
How to install Linux / UNIX *.tar.gz tarball files
How do I install tar.gz files under Linux?

A. tar.gz also known as tarball, an archive format for electronic data and software. Most Linux tarball contains a source code for software. If you are new to Linux I recommend using apt-get, rpm and yum command to install all binary packages.

Tarballs are a group of files in one file. Tarball files have the extension .tar.gz, .tgz or .tar.bz2. Most open source software use tarballs to distribute programs/source codes.
 1: Uncompress tarball

To uncompress them, execute the following command(s) depending on the extension:
root@bt:  tar -zxvf file.tar.gz
root@bt:  tar- zxf file.tgz
root@bt:  tar -jxf file.tar.bz2
 root@bt: tar -jxf file.tbz2

Now change directory
root@bt: ls
root@bt: cd path-to-software/

2: Build and install software

Generally you need to type 3 commands as follows for building and compiling software:
root@bt:# ./configure
root@bt:# make
root@bt:# make install

Where,

    ./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package
    make will compile all the source files into executable binaries.
    Finally, make install will install the binaries and any supporting files into the appropriate locations.

3: Read INSTALL / README file

Each tarball comes with installation and build instructions. Open INSTALL or README file for more information:
You can use kate or gedit txt editor for open readme and install file
gedit txt editor is come with Backtrack
kate you can install with this command:
root@bt:~# apt-get install kate



How To Change Mac Address oF your Machine in Backtrack Or Linux Distros

Hi To All The Mindbenders Readers, Once Again i'm Back With My New Tutorial on Changing Your Machine's  MAC Address.
In My Last Post I Explained The Importance Of Ip Address And Changing Your Machine Ip Address.
So If You Want to Learn What Ip And Mac address is then You Don't Have To Read Bulky books...
I am Not Explaining ip Addressing or Mac Here in the Post...
But can Give You A Small Idea About What Really Is it...

We Can Compare Our Ip Address to our Mobile No, As ip Address Can be Changed or can remain Static So As Our Mobile No. Are. One Can Change No. At any Time or can Apply(buy) For Forever.

And The Second Comparison is of Mac Address And IMEI no.
For Me Both(Mac Address And IMEI) Are Given By their manufacturers.
And Can Be Used To Trace Back The Device...

i Think its Enough For Brushing Up Your Knowledge. :D

Coming To the Point 
follow my Steps:

Step 1.
 Open Up Your Terminal...
and Use The Commands(text in red)

root@bt:~# ifconfig -a


You will now see a list of network interfaces, chipset details and their mac addresses. Pick the ID which corresponds to your network card you want to spoof the MAC address on. In this example I will be use “eth1″
First we need to bring our interface down. To do this we type the following command into the shell or terminal(text in red):


root@bt:~# ifconfig eth1 down

To change your MAC address type the following command(text in red) into the shell window swapping out 11:22:33:44:55:66 for the MAC address you want to use:

root@bt:~# macchanger –mac 11:22:33:44:55:66

Now we need to bring our interface(eth1) back up. To do this we type the following command(text in red) into the shell:

root@bt:~# ifconfig eth1 up

To verify our newly assigned MAC address we can query the interface again using Following Command (text in red):

root@bt:~# ifconfig -a

And Check For Your eth1 Mac Address...
Start Your Penetration Testing Or Whatever You Want Without A Hidden Eye On You...

How To Change IP Address Of your Machine Without Any Software In Backtrack 5 Or Any Linux Distros

Like All Computer G33ks We Love Our Terminal And command Our Terminal To fulfill our Goal...
So Today's Goal is To Change Our Ip.
Because We Know That Internet protocol address can help the security professionals our server admins to identify us that who we are and where we are.
The Most Common Site Which is designed to track our activities is none other than google god... or you can say that Google Maharaj.

Steps To Follow For Changing IP Address Of Your Machine.

Step 1.
We Want to See Our Origional ip Address on the network in this step.
Open Your Terminal and type the command in red text.


root@bt:~# ifconfig

now you can see your ip adress and interface(wlan or eth1 etc.)




Step 2.
Then Let's Start Changing Our ip Address, but before that we have to identify our interface (eth0,eth1,wlan0,mon0) mine is eth1
 So Assume that Your Interface is eth1 you can replace it with your own... Don't copy Paste Learn The Process...
remember to change the interface with your own interface, but the method is same as below...

ifconfig your interface new ip adress

To Change Ip Type Following command in Terminal only type text in red.

root@bt:~# ifconfig eth1 192.168.202.124

Step 3.
Now Check The IP Address of your machine by ifconfig(text in red)

root@bt:~# ifconfig







Matrix letters in terminal Using Cmatrix For Linux or Backtrack 5

Looking For Some funny Moments For Your Terminal Try My New Discovered App For Your Linux or Backtrack Distros.

Steps To Follow
Step 1.
Installing Cmatrix From Your Terminal.
Type The Command (Text in red)

root@bt:~# apt-get install cmatrix

Step 2.

Using Cmatrix in terminal, only type command in red text

root@bt:~# cmatrix



How to Install Google Chrome on Backtrack 5

This is a quick tutorial to install Google Chrome on Backtrack. A lot of people are trying to learn security these days and backtrack being one of the most used distros they download it and find themselve stuck in a dillema to use it. Here are the steps you need to follow in order to install Chrome Browser on your Backtrack 5. And Chrome is my Favorite browser. so let's start.
Open the Konsole/Terminal (or whatever funky name you call it with)
Execute the following command(text in red) to download the program 
------------------------------------------------------------------------------------------------------------

root@bt:~# apt-get install chromium-browser
------------------------------------------------------------------------------------------------------------

We need to make a few changes in the system to make it work. So switch to Chrome’s directory with following command(text in red)
------------------------------------------------------------------------------------------------------------
root@bt:~# cd /usr/lib/chromium-browser

------------------------------------------------------------------------------------------------------------

This is the step you need to follow in order to be able to run Chrome as root user:
Open Hex editor with the command(text in red)

------------------------------------------------------------------------------------------------------------
root@bt:/usr/lib/chromium-browser# hexedit chromium-browser
------------------------------------------------------------------------------------------------------------
Switch to code written in right hand side by pressing "tab" key
- Now search for geteuid with the command (ctrl+s then type geteuid)
- Replace it with getppid 

And finally save the changes by pressing "ctrl+x" key 
then it will ask for yes or no 
press "y" key to save

Now you are able to run Google Chrome on your Backtrack 5 along with root privileges.



root@bt:~# chromium-browser






Tuesday 13 November 2012

Recording Your Own Desktop Using Record My Desktop In Ubuntu or Backtrack 5

Welcome Friendz Here We go With One mOre Precious Lession About installing and using record my dekstop. And if You Are Searching for something like recording your own video in Linux or Backtrack 5 R3.

Steps To Follow:

Step 1.
Open Your Terminal and type following commands (text in red)

root@bt:~# apt-get install gtk-recordMyDesktop

Step 2.
Using RecordMyDesktop As A root From Your Terminal just Type following(text in red)

root@bt:~# gtk-recordMyDesktop  



Step 3. 
And Click Record To Record Your Video.

Step 4. When You Finished Click on Stop at the Right-Top Corner ( Circular Red Button)
And Wait for encoding of your video.

Step 5. When Encoding Process Finishes.
Collect Your Video From root (Home Folder) Or From Your Desktop.

The Best Point Of This Recorder is its encoding feature, which encodes in .ogv format and with as much minimum size in comparision of other recorders. 
If You Have Any Doubts Then Clear Now...

Installing Shotwell photo manager for backtrack 5 and Ubuntu

This is a Very short Tutorial About Installing And using Shotwell Photo manager.

Steps To Follow:

Step 1.
open Your Terminal and type the following command (text in red)
root@bt:~# apt-get install shotwell

Step 2.
After Installing Shotwell Run shotwell as root from your terminal by using command (text in red)
root@bt:~# shotwell


Fast And Easy Tar Archive Tutorial For Linux Begineers





Before You Proceed Take A Sharp Look
Note: All Commands Must Be Performed In The Terminal.
Here # is Not a Command/string It's For Representing
That You Are In Terminal.

-f command for file name/location same as --file=
-c create a new archive same as --create
-v verbosely list files which are processed.
-z filter the archive through gzip
-j filter the archieve through bzip2 or bz2
-x command for extracting same as --extract
-t command for listing archieve same as --list
-r command for appending new files same as --append


filter the archive through bzip2
=====================================
1.Creating an uncompressed tar archive using option cvf
This is the basic command to create a tar archive.

--------------------------------------------------
# tar cvf archive_name.tar dirname/
--------------------------------------------------

2.Creating a tar gzipped archive using option cvzf
The above tar cvf option, does not provide any 
compression. To use a gzip compression on the tar 
archive, use the z option as shown below.

-------------------------------------------------------
# tar cvzf archive_name.tar.gz dirname/
-------------------------------------------------------

Note: .tgz is same as .tar.gz

3.Creating a .tar archieve using complex strings
-----------------------------------------------------------------------------------------
# tar --create --verbose --file=archieve_name.tar file1.png file2.py variousin1.txt
----------------------------------------------------------------------------------------

Here We Created A Tar Archieve of 3 file, you have to provide your full file name 
with extension followed by a single space.

4.Creating a .tar archieve using normal strings
-----------------------------------------------------------------------------------
# tar -c -v -f archieve_name.tar file1.png file2.py variousin1.txt
-----------------------------------------------------------------------------------

5.Creating a .tar archieve using simplest strings
---------------------------------------------------------------------------------
# tar -cvf archieve_name.tar file1.png file2.py variousin1.txt
---------------------------------------------------------------------------------

6. List all the files and folders(contents) of a tar archieve(complex) without extracting it.

---------------------------------------------------------------------------------
# tar --list --verbose --file=archieve_name.tar
---------------------------------------------------------------------------------

7. Add New Files in our tar archieve(complex) without extracting it.

---------------------------------------------------------------------------------
# tar --append --verbose --file=archieve_name.tar file4.png file5.txt
---------------------------------------------------------------------------------

8. Store all tar archieve outputs(dir properties) in a txt file.

---------------------------------------------------------------------------------
# tar --list --index-file=outputfile.txt --verbose --file=archieve_name.tar
---------------------------------------------------------------------------------

Note: The outputfile.txt must be in same dir(folder) where you have placed your tar file.

9. Delete a Single File or folder From a tar archieve.

---------------------------------------------------------------------------------
# tar --delete --verbose --file=archieve_name.tar file5.txt
---------------------------------------------------------------------------------

Note: The file5.txt is now deleted from archieve_name.tar ok...

10. extract archieve_name.tar contents to current working directory.

---------------------------------------------------------------------------------
# tar --extract --verbose --file=archieve_name.tar
---------------------------------------------------------------------------------

11. extract a single file or folder from archieve_name.tar to current working directory.

---------------------------------------------------------------------------------
# tar --extract --verbose --file=archieve_name.tar file4.png
---------------------------------------------------------------------------------

12. extract a single file or folder from archieve_name.tar to current working directory.

---------------------------------------------------------------------------------
# tar --extract --verbose --file=archieve_name.tar file4.png
---------------------------------------------------------------------------------

13. Add New Files in our tar archieve(complex) without extracting it.(overwritting)

---------------------------------------------------------------------------------
# tar --update --verbose --file=archieve_name.tar file4.png file5.txt
---------------------------------------------------------------------------------

Note: Your old Copy Of file5.txt will be replaced by this file5.txt(updated)

14.Creating a bzipped tar archive using option cvjf

---------------------------------------------------------------------------------
# tar cvfj archive_name.tar.bz2 file6.py file7.png
---------------------------------------------------------------------------------

gzip vs bzip2: bzip2 takes more time to compress and decompress than gzip. bzip2 
archival size is less than gzip. so if u worried about your hard drive contents
then compress them with .tar.bz2 archieve compression and see the magic, 
i(devender mahto)personally suggest you this method if you are willing to 
compress your world of plathora in a small tar archieve.

Note: .tbz and .tb2 is same as .tar.bz2

15.Extracting (untar) an archive using tar command(simple)

---------------------------------------------------------------------------------
# tar xvf archive_name.tar
---------------------------------------------------------------------------------

16.Extract a gzipped tar archive ( *.tar.gz ) using option xvzf

---------------------------------------------------------------------------------
# tar xvfz archive_name.tar.gz
---------------------------------------------------------------------------------

17. Extracting a bzipped tar archive ( *.tar.bz2 ) using option xvjf
---------------------------------------------------------------------------------
# tar xvfj archive_name.tar.bz2
---------------------------------------------------------------------------------

18. View the tar archive file content without extracting using option tvf(simple)
---------------------------------------------------------------------------------
# tar tvf archive_name.tar
---------------------------------------------------------------------------------

19. View the *.tar.gz file content without extracting using option tvzf(simple)
---------------------------------------------------------------------------------
# tar tvfz archive_name.tar.gz
---------------------------------------------------------------------------------

20. View the *.tar.bz2 file content without extracting using option tvjf

---------------------------------------------------------------------------------
# tar tvfj archive_name.tar.bz2
---------------------------------------------------------------------------------

21. To extract multiple directories from a tar archive, specify those individual 
directory names at the end of the tar xvf command as shown below.

---------------------------------------------------------------------------------
# tar xvf archive_name.tar /path/to/dir1/ /path/to/dir2/
---------------------------------------------------------------------------------

22. Extract group of files from tar, tar.gz, tar.bz2 archives using regular 
expressions.
In The Following Commands we want only mp3 file so we added .mp3 after the 
astrik(*)sign

---------------------------------------------------------------------------------
# tar xvf archive_name.tar --wildcards '*.mp3'
---------------------------------------------------------------------------------



Sunday 11 November 2012

Linux Commands For Beginners


Are you looking for Linux Cheat Sheet? Or most used linux commands? I am putting up a list below for my own reference that could come in handy to you as and when you need it. I hope you like it!

System Info

  • date – Display current date and time
  • cal – show current month’s calender
  • uptime – show current server’s uptime since last reboot
  • w – display which user’s are logged in and average load on the server
  • whoami – who you are logged in as (funny!)
  • finder username – Get information about A specific user on the system
  • uname – a – Display kernal information
  • cat /proc/cpuinfo – Display CPU information
  • cat /proc/meminfo – Display Memory (RAM) info
  • man command – Show Manual for any “command”
  • df – show disk usage
  • du – show directory space usage
  • df -h – show all HDD’s and their mount point
  • free – show RAM and its swap usage (free -m to display in MB)
  • whereis app – Find location of an app


Network
  • ping – ping any IP / Host and output result
  • whois domain.tld – Get whois information of any domain name
  • dig domain.tld – Get DNS information of any domain
  • dig -x host – Reverse lookup
  • wget file-location – Download any remote file
  • wget -c file – Continue a paused / stopped download

File Commands
  • ls – List directories
  • ls -al – Formatted listing with hidden files
  • cd dir – Change to DIR
  • cd – Switch to home
  • pwd – Show current directory
  • mkdir name – Create a new directory called “name”
  • rm filename – Delete a file
  • rm -r dir – Delete an EMPTY directory called “dir”
  • rm -rf dir – Delete an entire directory with files called “dir”
  • cp file1 file2 – Copy file1 to file2
  • mv file1 file2 – Move or Rename a file
  • touch file – Create or Update a file
  • more file – Output the content of the file
  • tail file – Output last 10 lines of a file

Compression
  • tar cf file.tar files – Create a tarball compressing the folder called “files”
  • tar xf file.tar – Exact the tarball “file.tar”
  • gzip filename - Compress and rename the file to filename.gz

File Permissions
  • 4 – Read (r)
  • 2- Write (w)
  • 1- Execute (x)
  • Example : “chmod 777 filename” will allocation read, write & execute permission to filename.
Searching
  • grep pattern files – search for a pattern in files
  • grep -r pattern dir – Search recursively for pattern in dir
  • command | grep pattern – Search for pattern in output command
  • locate file – Find all instances of file
Process Management
  • ps – Display all current active processes
  • top – Display all running processes
  • top -c – Display processes using top CPU
  • top -m – Display processes using top Memory (RAM)
  • kill pid – Kill a process with its pid
  • bg – List stopped background jobs
  • fg – Bring the most recent job to the foreground

SSH
  • ssh user@hostname – connect to a host as a user
  • ssh -p 22 user@host – Connect to a host as a user on specific port (in this case 22)
  • ssh-copy-id user@host – Add your key to host for user to enable a keyed or password-less login

Shortcuts
  • Ctrl + C – Halts the current command
  • Ctril + Z – Stops the current command, you can resume it with fg in the foreground and bg in the background
  • Ctril + D – Logout of current session
  • Ctrl + U – Erase the line
  • Ctrl + R – Type to bring up a recent command
  • !! – Repeat the last command
  • exit – Logout of current session
  • abc* – Every file / dir / etc starting with abc

I hope you liked the sheet and will make use of it. In case you think I have forgotten anything, feel free to add it in the command and I will get the main sheet updated.