<div class="gmail_quote">On 19 October 2010 18:18, Hakan Koseoglu <span dir="ltr"><<a href="mailto:hakan@koseoglu.org">hakan@koseoglu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 19/10/10 16:54, Cornelius Mostert wrote:<br>
> The scenario is as follow:<br>
> 1. You have permission to work as Admin on a Lan<br>
> 2. You do NOT have any documentation from the previous Admin<br>
> 3. You find a router / WiFi Router that is in use and therefore you can<br>
> NOT reset it<br>
> 4. This router is a "home" / consumer router like Netgear, Linksys, etc.<br>
> So not an enterprise router<br>
> 5. You need to brows to the routers config web page to make some changes<br>
> (you assume the default admin and password for the router) BUT you do<br>
> NOT know the IP address<br>
> 6. You know the router is NOT a DHCP server<br>
><br>
> Now the question is HOW do you find the IP address of the router ???<br>
<br>
If it is the router providing the access outside, netstat -nr will show<br>
you the route, hence the IP address of the router.<br>
If you know which servers/clients are using it as a gateway, run those<br>
commands from there.<br>
<br>
But what then, what will knowing the IP address provide to you, I'm not<br>
sure.<br>
<br>
If the previous admin has walked away with all of the information, I'd<br>
treat that router as compromised and take it off the net ASAP and<br>
replace it with a known configuration - damn the users, just let them<br>
know about the outage.<br>
<br>
Nmap will attempt to show you any IP addresses on the network with a<br>
reasonable distinction of if the device is Netgear, Cisco etc.<br>
<font color="#888888"><br>
--<br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
</font></blockquote></div><br><div>+1 for netstat -nr. Also look for a factory reset button on the router, but make sure you know the settings first!</div><div><br></div><div>Steve</div><div><br></div>