ats-min.com

Just another programmer's site

Month: 10月 2014

paiza Rank S

Today I got paiza Rank S!

http://paiza.jp

It says Rank S programmer ratio is only 2%. Is it really?

I think tricks of solving paiza problems are two.

1. Testing code by various input data

If the code doesn’t pass almost all the problem’s test cases, it is difficult to get the rank of problem. It seems that coding to load input data by file and thinking various test patterns are important.

2. Review code until about 2 hours.

Time penalty of the exam is nothing until 2 hours. So if the code passes its sample input data, it is better that review the code and testing more patterns for remain time.

s

Nemesis install

When install paket injection tool “Nemesis”, I have to install “libnet-1.0.2a” library.

I  installed the library to /usr/nemesis/Libnet-1.0.2 by following command,

mkdir  /usr/nemesis

http://packetfactory.openwall.net/libnet/dist/deprecated/libnet-1.0.2a.tar.gz

cd Libnet-1.0.2a

./configure

make && make install

 

Then build nemesis,

wget http://packetfactory.openwall.net/projects/nemesis/nemesis-1.4beta3.tar.gz

tar xvf nemesis-1.4beta3.tar.tz.

cd nemesis-1.4beta3

./configure –with-libnet-includes=/usr/nemesis/Libnet-1.0.2a/include/ –with-libnet-libraries=/usr/nemesis/Libnet-1.0.2a/lib

make && make install

 

Nemesis has been installed!

I tried ethernet spoofing.

sudo nemesis ethernet -d wlan0 -M {local PC MAC address} -H aa:aa:aa:aa:aa:aa

then dummy ethernet packet was captured like

00 08 ca ce 17 f5 aa aa  aa aa aa aa 08 00  (captured ethernet header : payload is nothing)

http://packetfactory.openwall.net/projects/nemesis/index.html

insecurety.net/?p=54a

 

© 2018 ats-min.com

Theme by Anders NorenUp ↑