Jump to content

Lex

Active Members
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Lex's Achievements

Newbie

Newbie (1/14)

  1. I really hate the way you give answers . SmoothCriminal , that was a very smart answer . You should'va kept your mouth shut . If you don't know how to answer his question , don't post anything . Yeah , it's very ELITE of you to give such answers . HALEN , i don't know if it's possible to only log the command line . Check the following links : This one is very simple to setup , you only need python installed : http://sourceforge.net/projects/pykeylogger/ This one works too , but i preffer the one written in python http://sourceforge.net/projects/elogger/
  2. I don't have additional hardware unfortunately . On the windows box ICS is activated . When I had windows on this box too , configuring internet was easy :)
  3. Hey guys ! I have a windows xp computer and a Linux one . The one with windows has internet access ( and two ethernet cards ) and I would like to be able to access it from Linux too . After reading on the internet and various forums I found some guides ( none of them working for me though ) .I'm posting the Linux setup I used : ifconfig eth0 down ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up route add default gw 192.168.0.1 echo nameserver_ip > /etc/resolv.conf After doing all this , my connection didn't work ( I couldn't even ping the windows computer ) . I found it strange that after echo 1 > /proc/sys/net/ipv4/ip_forward i was able to ping and get replys from the windows computer . The internet still doesn't work . Any tips/guides ? I can't put the second network card in the Linux computer , so please don't suggest that as an option. Thanks !
  4. Lex

    Tor Question

    To access country restricted websites
  5. Lex

    Tor Question

    Is there a way to make your request go through a certain Tor "exit-node" ?
  6. I've done it in C too ... I'll search for the code and i'll post it here . I had it exec another program that appended some data to the original binary , thus changing its size . It worked only on Linux
  7. How about you use this little perl one-liner : perl -pi.bak -e "s/127.0.0.1//g" log_file This should be run from command line . What it does is exactly what you need : it opens log_file ,searches for every occurence of 127.0.0.1 and removes it. The script makes a backup of the log_file , naming it log_file.bak ( just in case ). Hope this helps
  8. It would be nice if you could show us some code :)
  9. I found out about this website about a week ago , and now I'm watching the show . Congrats ! I saw the programming challenge , and decided to write a solution in perl . Since perl is a dynamic language , I decided to use dynamic coding . Sorry if I posted in the wrong topic ( and beeing one year late with the solution :) ) use strict; use warnings; sub generate_code { my $numbers=shift; my $total =shift; my $code; my $i; my @vars; for($i=0;$i<$numbers;$i++) { $code.="for(my $i${i}=1;$i${i}<$total;$i${i}++) {n"; push(@vars,"$i${i}"); } $code.="print ""; map { $code.="$_ " } @vars; $code.="n" "; $code.=condition(@vars,$total); for($i=0;$i<$numbers;$i++) { $code.="}n"; } $code; } sub condition { my @arr=@{ shift @_ }; my $number=shift; my $string="if("; for(my $i=0;$i<$#arr+1;$i++) { if($i==$#arr) { $string.="$arr[$i]==$number);"; last; } $string.="$arr[$i]+"; } $string; } my $num=shift || die "enter a number (n)n"; my $tot =shift || die "enter how many numbers should be added (k) n"; my $code=generate_code($tot,$num); eval($code);
  10. Tom , the first time you run the program , it should display a string , and after that , it doesn't matter how many times you run it again , it will display a second string ... kinda like the app knows if it's the first time being ran or not .
  11. This may seem like an stupid question , but will everything come back to normal regardless if the attacked computer has a static or dynamic IP ? Thanks !
  12. I don't know how to make this any clearer ... when you first run it , it should write "string 1" to the console ; and if you run it again , it should display "string 2".
×
×
  • Create New...