Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - @rjun

Pages: [1] 2
1
Networking / Re: DNS Setup
« on: June 19, 2015, 08:02:00 pm »
Okay. :D
Can you check the configuration only so that i can then shift to my router, because it's kind of mess right now. If i change one thing i have to go back to very beginning and then i am unable to setup DNS then i have to reset every thing and start again.

So if you like kindly check the above posted configuration and warn me if there is something wrong. :)
Once i'm sure that my configuration is right then i can concentrate on other things in a better manner.

What i'm trying to achieve is a local webserver, local DNS server, all on a single machine with IP(192.168.1.99--it's static).
This address should be named as "www.me.cloud".

Thanks Anyway.



EDIT: changed 1.99.168.192.in-addr.arpa to 99.1.168.192.in-addr.arpa.

2
Networking / Re: DNS Setup
« on: June 19, 2015, 08:20:33 am »
During my wireshark analysis DNS queries were being sent from 192.168.1.99(my machine) to 192.168.1.1(my router).
The 'Question' parameter was being sent as i saw in wireshark but 'Answer' parameter was empty.
So somehow i believe that either the problem is within my configuration of BIND or with my router. But i have already set my primary DNS server to this machine(192.168.1.99) and secondary DNS server to 8.8.8.8(google's). So narrowing down, i think problem is with above configuration.

Problem: Zones haven't been set yet. (see DIG output above) :)

3
Networking / DNS Setup
« on: June 18, 2015, 09:27:19 pm »
Hey guys! ;D :o

I recently wanted to have a local DNS server for my family and friends, to share data easily.
But somewhere i'm stuck. Here's my "dig me.cloud":
; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> www.me.cloud
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12011
;; flags: qr rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.me.cloud.            IN    A

;; Query time: 51 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Jun 19 00:47:02 IST 2015
;; MSG SIZE  rcvd: 41


I'm using Bind9 for DNS.
Configuration is as follows:

1. named.conf.local:

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "me.cloud" IN{
        type master;
        file"/etc/bind/zones/me.cloud.db";
};

zone "99.1.168.192.in-addr.arpa"{
        type master;
        file "/etc/bind/zones/99.1.168.192.in-addr.arpa";
};





2. named.conf.options:

options {
    directory "/var/cache/bind";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders. 
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

    forwarders {
         192.168.1.1;
        0.0.0.0;
        8.8.8.8;
       
     };

    //========================================================================
    // If BIND logs error messages about the root key being expired,
    // you will need to update your keys.  See https://www.isc.org/bind-keys
    //========================================================================
    dnssec-validation auto;

    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };
};



3. zone/99.1.168.192.in-addr.arpa:

;
; BIND reverse data file for local loopback interface
;
$TTL 635356
@    SOA    me.cloud. me.cloud. (
                  1        ; Serial
             604800        ; Refresh
              86400        ; Retry
            2419200        ; Expire
             604800 )    ; Negative Cache TTL
;
99.1.168.192.in-addr.arpa.                IN      NS      ns1.me.cloud.

99    IN    PTR    www.me.cloud.



4. zone/me.cloud.db:

;
; BIND reverse data file for local loopback interface
;
$TTL 635356
@    SOA    me.cloud. me.cloud. (
                  1        ; Serial
             604800        ; Refresh
              86400        ; Retry
            2419200        ; Expire
             604800 )    ; Negative Cache TTL
;
ns1        IN    NS    192.168.1.99
www        IN    A    192.168.1.99
localhost    IN    A    127.0.0.1





____________________________________________________________________________________________::>

I have also setup primary DNS server on my router as 192.168.1.99(www.me.cloud as well as ns1.me.cloud)
Also my /etc/resolv.conf is as follows:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf( 8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1



Any guidance would be really helpful.
Thanks  ;D :)

4
Networking / Re: Bridge LAN and WLAN
« on: June 08, 2015, 06:30:07 pm »
That might be the reason why I could not guess the vendor.. lol. I do not like dlink devices. Cheap crap.. lol

Embarrassed ::) :-[



Hey guys i think i found something: http://superuser.com/questions/701156/d-link-router-wifi-and-lan-segment
this is exactly my problem. Anyway would love to hear from you all on this issue. It's pure knowledge. ;D :D

But i got it solved through there. It was MultiAP isolation, that was turned on.

Again thanks for bringing that to me. ;D ;)

5
Networking / Re: Bridge LAN and WLAN
« on: June 08, 2015, 06:28:36 pm »
ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:23:5a:95:76:e0 
          inet addr:192.168.1.34  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::223:5aff:fe95:76e0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1684605 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1543866 errors:0 dropped:0 overruns:0 carrier:52
          collisions:0 txqueuelen:1000
          RX bytes:1586734131 (1.5 GB)  TX bytes:238107877 (238.1 MB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4178147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4178147 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:415643806 (415.6 MB)  TX bytes:415643806 (415.6 MB)

wlan0     Link encap:Ethernet  HWaddr 00:22:fa:a2:b4:52 
          UP BROADCAST  MTU:1500  Metric:1
          RX packets:3194916 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3109874 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2878275219 (2.8 GB)  TX bytes:793555985 (793.5 MB)




ping results:
1. to server at 192.168.1.34:
PING 192.168.1.34 (192.168.1.34) 56(84) bytes of data.
From 192.168.1.99 icmp_seq=9 Destination Host Unreachable
From 192.168.1.99 icmp_seq=10 Destination Host Unreachable
From 192.168.1.99 icmp_seq=11 Destination Host Unreachable
^C
--- 192.168.1.34 ping statistics ---
13 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12087ms
pipe 3


2.from server(connected via ethernet) to client(connected wirelessly):
exactly same as above, says "Destination Host Unreachable"


3.ping to common gateway:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.44 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=7.61 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=3.05 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=3.05 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=3.05 ms
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.444/3.643/7.615/2.081 ms




is there some firewall in between?
Also i have reserved 192.168.1.99 for my laptop through DHCP Reservation.But still my phone is again not able to access the server.

Thanks for so much concern.



6
Networking / Re: Bridge LAN and WLAN
« on: June 08, 2015, 10:46:45 am »
1. Webserver=Apache httpd, installed locally

2.Wireless clients are connected to same subnet 255.255.255.0
screenshot is attached below.

3. No, they are not able to access any other service, be it ftp,ssh,telnet,etc.


7
Networking / Re: Bridge LAN and WLAN
« on: June 07, 2015, 08:06:15 pm »
Sorry :(

I have a website that i want my wireless clients to access, but the main problem is that they are not able to access it. I don't know why.
Important thing is that this website is being served by my desktop which is connected via ethernet hence it is in LAN.
While my wireless clients form WLAN, am i right?
So somehow these wireless clients are unable to access website.
I am using a single router for forming my network which has 4 ethernet ports(one of them is used for my desktop server) and it also provides wireless access for mobiles,laptops,etc.            (sorry for being so naive but i want to bring every bit to you)

Just a general question: Is it possible for any mobile or laptop, which is connected wireless to a router, access webserver that is setup on Desktop via ethernet, i.e LAN.
If no, then how can i bridge devices on LAN and WLAN?

8
Networking / Bridge LAN and WLAN
« on: June 07, 2015, 02:15:14 pm »
Hey guys! :)
The Scenario:
I have my server on my desktop connected to my router. While i want to serve it over my WLAN to wireless clients(phones,laptops) as it is less costly(no ethernet).
But i don't know why when i enter my desktop's IP and access it through wireless clients, i'm not able to access it. Although it works fine if i'm on LAN.

Any help please?
I know its silly but i don't how what to google, any specific terms for it.

9
Sorry for double posting but thanks HTH. I update my name column and added spaces in between and changed "S01E12" to "season 1 episode 12" and then used "like" with wildcard("%") and it is now working.
Sorry for being silly. But i appreciate your concern. Thanks! ;D +1

10
i have also used "like" with "%" in it but sir it proves to be futile because:
Let's assume i enter "The big bang theory season 1 episode 12",
and name in database is like the "big bang theory S01E12", so wouldn't  'like' with "%" statement would be futile here?
I also thought about using regex but since there are many other ways of input i am stuck.

Can you provide me some insight how evilzone searches?
Just a request, i would accept a "no".
Thanks

11
Hello everyone!

I've created a database(say tv_shows) with columns(name,path). I want to create a search page for it in php. I am stuck here.
I have already gone through mysql-fulltext search, elasticsearch. But since many shows have same name but only differ at end like S01E12, S01E19,etc. so mysql where condition is something vague for it. Also fulltext search renders numerous results.

Help Me Guys!

12
Found it on the Webs / WhatsApp Message Handler Exploit
« on: February 07, 2015, 04:34:50 pm »
http://thehackernews.com/2014/12/crash-your-friends-whatsapp-remotely_1.html


I read it and found it really interesting...
"Two India based independent security researchers, Indrajeet Bhuyan and Saurav Kar, both 17-year old teenagers demonstrated the WhatsApp Message Handler vulnerability to one of our security analyst.
     
  In a video demonstration, they showed that how a 2000 words (2kb in size) message in special character set can crash Whatsapp messenger app."

13
Hacking and Security / Re: Any Suggestion
« on: January 20, 2015, 01:51:36 pm »
+1 thanks!!

14
Hacking and Security / Re: Any Suggestion
« on: January 19, 2015, 09:29:25 am »
I have their list but i'm confused about username and password required in Hydra, will it be the default password(which i don't know)? This is my first time with proxies so...apologies for any stupid question...

15
Hacking and Security / Re: Any Suggestion
« on: January 18, 2015, 01:41:07 pm »
Thanks!
Can you suggest me where to find proxies?

Pages: [1] 2