Jump to content

Jamo

Active Members
  • Posts

    360
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Jamo

  1. Hi, I recently got interested in programming. I have earlier started with Python, but I learned just the basics. Now I got interested on C. Iv read some tutorials, and it seems to be quite simple language - at least all the basic stuff. However I was a bit concerned whether is c the best choice for me. I have also thought about learning java. Since Im interested on linux/ubuntu I think c/c++ might be good language for me to learn, ain't linux eventually based on it (which one)? Whats the main difference of c and c++ which one you think that I should learn, if any. Thanks in advance Jarmo
  2. Yea bt5 aint the most new user friedly distro, but using it is a quick way to learn how to use terminal ie. Bash. I started using first bt4 and after 6monts that. I also installed ubuntu. So you can use bt5 as your main os. I liked it when i had the change to play with all the tools withour really knowing like what is metasploit. :D Btw you can also use bt5 with out installing it, but by using a virtual pc like vmware or virtual box. As already mentioned best place for bt related questions is backtrack-linux.org/forums and google. And to turn bt off i use "poweroff" and to restart i use "reboot". Sorry for the typos, im not yet get used to write with my new android phone.
  3. Jamo

    Vm Router

    I didn't like the main view, that apps are in front and it doesn't look like a reliable firewall/router distro. And overall user interface. And it eats a lot of resources. Although it was really easy to set up.
  4. Jamo

    Vm Router

    Finally Iv realized that it ain't a good idea to let virtual machines to play in home lan. So I'v decided to set up a virtual lan. VMware workstation can do it easily, but I would like to set up VM that acts like a router. Darren has talked about those. He set up a smooth wall or untangle box to work as his router. What such products have you used, any recommendations what product to use. Iv installed untangle, but I don't like it that much.
  5. Jamo

    Jasager On Iphone

    If I remember correctly at least a year ago it was impossible to get iPhones wifi chip to monitor mode. I had iTouch 2gn.
  6. There is a hak5 sslstrip tutorial http://hak5.org/episodes/episode-610
  7. Well I'v been trying to get country based blocking to work, but suddenly I blocked whole access from lan, my IP's are in 192.168.1.1-192.168.1.255 range. Would this 192.168.0.0/16 include that area. BTW any good places where I could learn more about those IP areas /16 /21 /24 etc., what they mean etc. Also I managed to block those IP's this is especially for, IP's like this: 46.30.132.129 Would it be included in one of following IP areas? ### Country: BOGONS #LAN #000 deny from 192.168.0.0/16 ### Country: CZECH REPUBLIC #000 deny from 46.30.64.0/21 #000 deny from 46.30.88.0/21 #000 deny from 46.30.144.0/21 #000 deny from 46.30.232.0/21 ### Country: IRAQ #000 deny from 46.30.224.0/21 ### Country: ITALY #000 deny from 46.30.168.0/21 #000 deny from 46.30.216.0/21 #000 deny from 46.30.248.0/21 ### Country: NETHERLANDS #000 deny from 46.30.184.0/21 ### Country: RUSSIAN FEDERATION #000 deny from 46.30.32.0/21 #000 deny from 46.30.40.0/21 #000 deny from 46.30.152.0/21 ### Country: SPAIN #000 deny from 46.30.16.0/21 #000 deny from 46.30.104.0/21 ### Country: TURKEY ### Country: UKRAINE #000 deny from 46.30.160.0/21 ### Country: UNITED KINGDOM #000 deny from 46.30.8.0/21 #000 deny from 46.30.48.0/21 #000 deny from 46.30.96.0/21 #000 deny from 46.30.136.0/21 #000 deny from 46.30.192.0/21
  8. I got it working, I had to enable mod_rewrite, and edit my httpd.conf, ... AllowOverride All FileInfo Limit Options Indexes ... Where I can easily get those Ip addresses that I should block using .htaccess
  9. .htaccess IndexIgnore .htaccess #*/.??* *~ *# */HEADER* */README* */_vti* <Files .htaccess> order allow,deny allow from 192.168.1.0/24 deny from all </Files> AuthName "Restricted Area" AuthType Basic AuthUserFile /etc/apache2/htaccess/.htpasswd AuthGroupFile /dev/null require valid-user And error for that below. [Sat Jul 30 14:55:41 2011] [alert] [client 192.168.1.100] /var/www/.htaccess: IndexIgnore not allowed here [Sat Jul 30 14:55:44 2011] [alert] [client 192.168.1.18] /var/www/.htaccess: IndexIgnore not allowed here, referer: http://192.168.1.9/server-status?refresh=y [Sat Jul 30 14:55:45 2011] [alert] [client 192.168.1.18] /var/www/.htaccess: IndexIgnore not allowed here ################################################################################################## 2nd.htaccess <Limit GET HEAD PUT POST OPTIONS> Options -Indexes order deny,allow deny from 91.201.66.0/24 #example-subnet-to-block </Limit> AuthName "Restricted Area" AuthType Basic AuthUserFile /etc/apache2/htaccess/.htpasswd AuthGroupFile /dev/null require valid-user And 2nd error [Sat Jul 30 14:59:06 2011] [alert] [client 192.168.1.100] /var/www/.htaccess: Options not allowed here
  10. Yea, that password setup works well. So if I also want to have a block list, should it be also in .htaccess? If I add that code you posted and is below server just says internal server error. #example htaccess blocklist IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Files .htaccess> order allow,deny deny from all </Files> <Limit GET HEAD PUT POST OPTIONS> Options -Indexes order deny,allow deny from 91.201.66.0/24 #example-subnet-to-block </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> RedirectMatch temp ^/phpMyAdmin/$ / RedirectMatch temp ^/phpmyadmin/$ /
  11. Well I prefer not to use whitelist, blocklisting seems to be easier in my case. So should that be included in .htaccess? now my .htaccess looks like this AuthName "Restricted Area" AuthType Basic AuthUserFile /etc/apache2/htaccess/.htpasswd AuthGroupFile /dev/null require valid-user My server root it /var/www and proxy is in /var/www/proxy
  12. 0-0 9970 31/145/145 W 0.59 0 0 35.4 0.13 0.13 192.168.1.18 127.0.1.1 GET /server-status?refresh=n HTTP/1.1 1-0 9971 0/108/108 _ 0.36 38215 1 0.0 0.09 0.09 31.44.184.50 127.0.1.1 GET http://allrequestsallowed.com/?PHPSESSID=5gh6ncjh00043YZMWW 2-0 9972 0/203/203 _ 0.69 2352 4 0.0 0.18 0.18 192.168.1.18 127.0.1.1 GET /server-status?refresh=n HTTP/1.1 3-0 9973 0/106/106 _ 0.37 40034 3 0.0 0.10 0.10 (me from othrer addreass...) 127.0.1.1 GET /proxy/javascript.js HTTP/1.1 4-0 9974 0/76/76 _ 0.26 173 2 0.0 0.07 0.07 192.168.1.18 127.0.1.1 GET /favicon.ico HTTP/1.1 5-0 10059 0/106/106 _ 0.36 2153 0 0.0 0.10 0.10 88.199.11.66 127.0.1.1 GET /phpMyAdmin/config/config.inc.php?eval=echo%20md5(123); HTT 6-0 10060 0/109/109 _ 0.43 173 3 0.0 0.10 0.10 195.236.48.161 127.0.1.1 GET / HTTP/1.1 7-0 10075 0/206/206 _ 0.70 2154 0 0.0 0.18 0.18 88.199.11.66 127.0.1.1 GET /phpmyadmin/config/config.inc.php?eval=echo%20md5(123); HTT 8-0 10568 0/102/102 _ 0.35 40041 2 0.0 0.09 0.09 195.236.48.161 127.0.1.1 GET /favicon.ico HTTP/1.1 It seems that .htaccess didnt do the trick. For some reason I cant remove phpmyadmin, well I just renamed phpmyadmin file to something random.
  13. Try running it like this Airodump-ng -c 1 -w /root/desktop/capture.pcap
  14. Thanks for the link, I just got it running manually, but that will make things even easier in future. well, now I think I have .htaccess set up correctly. thanks for the tip. At least now my hxxp://192.168.1.9/server-status?refresh=n seems better, just me connecting to it.
  15. Where is that? Well I have now blocked those ips using IPtables iptables -A INPUT -s 68.45.116.1 -j DROP Is that enough, Iv done that on the server, not on the router. I havent never understood how to use .htaccess... I have teamviewer in my Desktop pc and in laptops, but not in that "server" Yea, I know its risky, but I need a unkonown proxy with ssl so I can bypass access restictions. and to get a bit more secure connection from public pc's, like from school... Im also running pptp vpn. Its no the most secure, but it takes some effort to crack it so its enough for me. And it was easy to setup. LAMP, I have changed passwords, I have removed phpmyadmin and such. Its a ISO which asked me to set passwords so no default passwords, like in BT5 VM im running root/toor and I have also renamed every folder in /var/www, which I dont currently need, root@lamp /var/www# ls [b]cgi-bin[/b]12312313245648912454684 css index.html index.php.bak js [b]phpinfo.php[/b].bak.oihjhusafasibsdjlbui proxy xyz[b]image[/b]sxytasdqwerty root@lamp /var/www# css and proxy are folders and index.html aint the apaches default page Not Found The requested URL was not found on this server.
  16. Hi, I was almost accidentally viewing my servers log ie. http://192.168.1.9/server-status?refresh=n Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request 0-0 1056 90/396/396 W 0.76 0 0 85.8 0.35 0.35 192.168.1.18 127.0.1.1 GET /server-status?refresh=n HTTP/1.1 1-0 1057 0/305/305 _ 0.58 2485 1 0.0 0.27 0.27 101.128.153.201 127.0.1.1 GET / HTTP/1.0 2-0 1058 0/307/307 _ 0.56 152 0 0.0 0.27 0.27 87.230.74.46 127.0.1.1 GET /din.aspx?s=00000000&id=0&client=DynGate&p=10000001 HTTP/1. 3-0 1059 0/306/306 _ 0.53 2486 0 0.0 0.27 0.27 50.57.93.243 127.0.1.1 HEAD /robots.txt HTTP/1.0 4-0 1060 0/305/305 _ 0.52 25 2 0.0 0.27 0.27 192.168.1.18 127.0.1.1 GET /server-status?refresh=n HTTP/1.1 5-0 1249 0/245/245 _ 0.46 424 1 0.0 0.21 0.21 74.125.152.80 127.0.1.1 GET /pictures/Webcam.JPG HTTP/1.1 I have dd-wrt router, and server is old dell laptop, which runs turnkey linux'es LAMB server. I have disabled some administrative features, and Im only running apache, and hosting phproxy. Only ports 80 and 443 are forwarded. nmap host-ip PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https
  17. It looks great, Can't wait till I can test it. I got Lg optimus 2x, with stock rom, 2.2 Where you would like me to report weather it works, from androidmarket, send email to developer or where? Thanks for posting this here. Doesnt work yet, does it require bash, which is included in cyanogen mods? Stock LG doesnt have it.
  18. What's the model Darren has. He showed it a couple weeks ago. Funny thing though, I spend last night looking for usb ethernet adabter, and I almost posted a question here.
  19. Yea, but if you have multiple apps you want to use simultaneously it might work.
  20. Yea definitely get more ram. If your boss doesn't want to pay for 2k machine for you, like most business PC's are, at least, where I work. You can build a Intel core i7 2600 PC for 600€ and If you go with i5 or i3 you will save more. And if you have stuff to build an other PC, you might be able to build a faster one. BTW in the last episode Shannon showed how to control 2 PCs with one mouse and keyboard I ques that it will be the best cluster like solution for you. Unless you run just one app.
  21. Well Im going to install xp to my laptop, which has 2 250Gb hdds, yes 2 hdds, not one hdd with 2 paritions. If I remember correctly w7 and ubuntu are on the same hdd. Would it be possible to remove hdd that has w7 and ubunu on it and then install xp to the second hdd. After XP is isntalled I could just easily put second hdd back and update grub. Or since I have recently installed w7 and ubuntu to that laptop and I'v done almost no customizations its possible that I could re install everything, I even have a spare 500Gb hdd laying around, so I could switch to that and then if necessary return to this currently working situation. I have a new i7 2600 computer, which I use also for virtualization and I run multiple XP installations on it. I just would like to have xp on my laptop too.
  22. Hi Now I have windows 7 x64 and ubuntu 11.04 installed on my laptop. W7 was installed first and Ubuntu second. Now I would like to install Xp on that machine. I have understood that different windows versions should be installed by release order, xp first then W7. I have also heard that after installing XP to w7 laptop it might not be able to boot. Now my boot loader is grub. Is it possible to install xp so I dont need to repair install W7
  23. what tutorials? For https you need sslstrip.
  24. what you‘v done to get your wifi working? Have you tried to start it from termina or is it already on, bt might not understand that swich but still your wlan card. try ifconfig and post results here.
  25. just remove grub.cfg. It woun't boot, until its fixed. Or remove xserver ie. that graphical stuff, gnome etc.
×
×
  • Create New...