Jun 23 2009

MD5 “Decrypter”, Java

Hello

What is MD5 Decrypter? It is a distributed system to break MD5 hash using bruteforce.

Implementation of MD5 Decrypter

There is a lot of thins that can be update:
- Number of Slaves variable.
- Work in the WORDS class distribution

Best Regards,
Matheus

Jun 22 2009

Parking Lot Exercise, Java, Concurrent Programming

Hello,

This is a problem of Concurrent Programming that I solved in a test:

The parking lot have 30 spots. Since the parking lot have spots, it doesn’t have priority. When it is full, starts to make a line. Professors have the highest priority, Employees have the Medium priority, and then it comes the students. Use Java to simulate 10 Professors, 15 employees, 30 students.

Concurrent Programming, Parking lot – JAVA

Matheus

Jun 16 2009

Conversion table – 3 – Computer Organization (INE5411)

Hello,

This post have some extra conversion. The first one just have some pages that I used until that moment. This one have the conversion table until now.

Matheus Bratfisch

Read more »

Jun 15 2009

Update End Point, TunnelBroker

Hello,

If you want to UPDATE your tunnelbroker end point, you can use this: http://ipv4.tunnelbroker.net/ipv4_end.php

There are the format that you have to use. In /etc/rc.local file I add this line to get my IPADDRESS:

IP=`ifconfig eth0 | grep “inet addr” | cut -d : -f 2 | cut -d B -f 1 | sed ‘s/^ *//;s/ *$//’`

And after this one to update the ENDPOINT

wget https://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=$IP&pass=senha&user_id=USERID&tunnel_id=TUNNELID

Best Regards,
Matheus

Jun 07 2009

Open ping in server from one IP

Good Night,

If you want to enable PING in your SERVER just from ONE IP use this IPtables rule:

$ sudo iptables -A INPUT -p icmp -s 150.162.60.37 -j ACCEPT

Best Regards,
Matheus

Jun 06 2009

Install and Configure DHCP server in Ubuntu

Good night,

If you want to install DHCP server in Ubuntu, use

$ sudo apt-get install dhcp3-server

And then edit /etc/dhcp3/dhcpd.conf I commented all lines and add this ones:

INTERFACES=”eth1″; # INTERFACE CONECATADA AO MEU ROTEADOR
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative; # DHCP PRINCIPAL DA REDE

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.150; # FAIXA DE IPS A SER DISTRIBUIDA
option routers 192.168.0.254; # GATEWAY
option domain-name-servers 200.247.141.11; # SERVIDOR DNS
option subnet-mask 255.255.255.0; # MASCARA DE SUBREDE
option broadcast-address 192.168.0.255; # ENDEREÇO DE BROADCAST
default-lease-time 600;
max-lease-time 7200;
}

Restart eh DHCP server:

$ sudo /etc/init.d/dhcp3-server restart

See you,
Matheus

Reference:
Google + DHCP SERVER UBUNTU