Maybe a way to hack WEP/WPA networks with Hero ? - Hero, G2 Touch General

I think I found a way to ping a host via the shell command. When I type "adb shell ping -a 192.168.1.1" it writes :
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=254 time=1914ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=254 time=908ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=254 time=1020ms
(when I disable the wifi on my phone it starts to write the below)
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Maybe HTC Hero can be a great WiFi Hacking tool that doesen't require us to format and install Linux.
Also someone may have discovered this a long time ago but I didn't noticed it anywhere so I posted it.

I'm failing to see how you've accomplished anything here except breaking a ping by cutting a network connection?!?

Related

Cannot ping HTC Hero

Hi guys,
I'm trying to install debian on my HTC Hero. For this I'd like to have ssh access to my phone. Debugging around I realised I cannot event ping the phone.
Code:
$ ping 192.168.XXX.23
PING 192.168.178.23 (192.168.XXX.23) 56(84) bytes of data.
From 192.168.178.50 icmp_seq=1 Destination Host Unreachable
From 192.168.178.50 icmp_seq=2 Destination Host Unreachable
From 192.168.178.50 icmp_seq=3 Destination Host Unreachable
The phone's connected via WLAN and browsing works. Both my router and the phone tell the IP address I used to ping is the right one.
Any suggestions?
Thanks,
db
Check this out
http :// forum.cyanogenmod.com/topic/11046-cannot-ping-to-htc-aria-incoming-connection-blocked/
Sorry for fudging the URL, it wont allow me to post the link since I'm relatively new

My HTC s740 has an ssh server running on it...

..or is it just me?
While connected to the internet via the phone's internet sharing:
Code:
eth1 Link encap:Ethernet HWaddr 80:00:60:0F:E8:00
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4166 errors:3310 dropped:0 overruns:0 frame:2
TX packets:4560 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2739298 (2.6 MiB) TX bytes:1315840 (1.2 MiB)
Code:
[jim(at)fedora ~]$ tracepath 74.125.39.147
1: 192.168.0.102 (192.168.0.102) 0.148ms pmtu 1500
^C
[jim(at)fedora ~]$ ssh 192.168.0.102
jim(at)192.168.0.102's password:
After an attitude change and a few attempts:
Code:
root(at)192.168.0.102's password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
No third party SSH software is running on the phone.
Here's what active refusing is like when attempting to ssh to a computer that does not have an ssh server running:
Code:
[jim(at)fedora ~]$ ssh 192.168.1.65
ssh: connect to host 192.168.1.65 port 22: Connection refused
Can anyone reproduce with their windows mobile phone?
I wonder what potential finding the login info would have.
Lol, 192.168.0.102 is IP of your PC. Phone has probably 192.168.0.1.

[Q] Port Blocking

Is there a browser for Android that does not block ports or will allow you to unblock a certain port? Like Firefox blocks many ports and it looks like most Android browsers do also. Anyone know any work around?
Blocked Ports
Ports blocked by default in Mozilla Port Service
1 tcpmux
7 echo
9 discard
11 systat
13 daytime
15 netstat
17 qotd
19 chargen
20 ftp data
21 ftp control
22 ssh
23 telnet
25 smtp
37 time
42 name
43 nicname
53 domain
77 priv-rjs
79 finger
87 ttylink
95 supdup
101 hostriame
102 iso-tsap
103 gppitnp
104 acr-nema
109 POP2
110 POP3
111 sunrpc
113 auth
115 sftp
117 uucp-path
119 NNTP
123 NTP
135 loc-srv / epmap
139 netbios
143 IMAP2
179 BGP
389 LDAP
465 SMTP+SSL
512 print / exec
513 login
514 shell
515 printer
526 tempo
530 courier
531 chat
532 netnews
540 uucp
556 remotefs
563 NNTP+SSL
587 submission
601 syslog
636 LDAP+SSL
993 IMAP+SSL
995 POP3+SSL
2049 nfs
4045 lockd
6000 X11
jonathan75 said:
Is there a browser for Android that does not block ports or will allow you to unblock a certain port? Like Firefox blocks many ports and it looks like most Android browsers do also. Anyone know any work around?
Blocked Ports
Ports blocked by default in Mozilla Port Service
1 tcpmux
7 echo
9 discard
11 systat
13 daytime
15 netstat
17 qotd
19 chargen
20 ftp data
21 ftp control
22 ssh
23 telnet
25 smtp
37 time
42 name
43 nicname
53 domain
77 priv-rjs
79 finger
87 ttylink
95 supdup
101 hostriame
102 iso-tsap
103 gppitnp
104 acr-nema
109 POP2
110 POP3
111 sunrpc
113 auth
115 sftp
117 uucp-path
119 NNTP
123 NTP
135 loc-srv / epmap
139 netbios
143 IMAP2
179 BGP
389 LDAP
465 SMTP+SSL
512 print / exec
513 login
514 shell
515 printer
526 tempo
530 courier
531 chat
532 netnews
540 uucp
556 remotefs
563 NNTP+SSL
587 submission
601 syslog
636 LDAP+SSL
993 IMAP+SSL
995 POP3+SSL
2049 nfs
4045 lockd
6000 X11
Click to expand...
Click to collapse
Ah? firewalls are blocking ports, browsers aren't
lqaddict said:
Ah? firewalls are blocking ports, browsers aren't
Click to expand...
Click to collapse
Browsers also block ports for your own "protection" See here:
http://www.mozilla.org/projects/netlib/PortBanning.html
jonathan75 said:
Browsers also block ports for your own "protection" See here:
http://www.mozilla.org/projects/netlib/PortBanning.html
Click to expand...
Click to collapse
Yeah, looks like a pretty stupid idea if you ask me - I do not know the answer to your dilemma though.
jonathan75 said:
Browsers also block ports for your own "protection" See here:
http://www.mozilla.org/projects/netlib/PortBanning.html
Click to expand...
Click to collapse
That page is really, really old. The CERT advisory is from 2001, and the page is a part of netlib, which references the Netscape browser. I would be surprised if any browser now is blocking any application from communicating through a port. You might check your firewall rules.
I'm running Firefox posting this right now on my laptop, and I can POP, IMAP, SSH, ftp, nntp, tftp, etc. just fine.
The browser isn't blocking ports, T-mobile is.

Cant ping my photon with android

Hello everyone
i instaled the ip webcam application and i couldnt connect with the browser.
the i noticed that i couldnt ping the phone!
i can connect to the internet and i can ping the other devices in my local network from my phone!
is there any network problem with the incoming connections?
can enyone confirm tha has the same problem or is only me?
I use munjeni release
Thank the devs sooooooooooooooo mutch!
kostasdimos said:
Hello everyone
i instaled the ip webcam application and i couldnt connect with the browser.
the i noticed that i couldnt ping the phone!
i can connect to the internet and i can ping the other devices in my local network from my phone!
is there any network problem with the incoming connections?
can enyone confirm tha haw the same problem or is only me?
Thanks the devs sooooooooooooooo mutch!
Click to expand...
Click to collapse
Bravo mate, yes it is not possible for photon (I already focused on that problem), also see it problem is also for other devices (try searching google), I tried to get it working but I think its bug with android. But I got ping only if use ping from router (telnet to router, than ping android device)! I playing with it and it is priority high for me, if I found fix, I will post here!
I facted the same problem with this release ( r134++) also. I could not use FTP server on android as previous release. PC could not find the server as usual.
konnichiwa said:
I facted the same problem with this release ( r134++) also. I could not use FTP server on android as previous release. PC could not find the server as usual.
Click to expand...
Click to collapse
You use bluetooth?? If yes, please read this http://forum.xda-developers.com/showpost.php?p=15829592&postcount=314 and report if working
munjeni said:
You use bluetooth?? If yes, please read this http://forum.xda-developers.com/showpost.php?p=15829592&postcount=314 and report if working
Click to expand...
Click to collapse
No, I used wifi to connect between PC and android. I use SwiFTP Server to make android as FTP server.
konnichiwa said:
No, I used wifi to connect between PC and android. I use SwiFTP Server to make android as FTP server.
Click to expand...
Click to collapse
I not know what release you use! What release you use, by me or from google page?
Also, what release worked for you?
I use r134++ and other fixed from you.
The release worked is 30.05.2011_r106.rar.
I tried to use FTP server on winmobile and it is ok. so It mean my network is no problem.
konnichiwa said:
I use r134++
Click to expand...
Click to collapse
r134++ release (munjeni)
or
r134++ release (google)
??
You are Munjeni so it mean I use r134++ release (munjeni)
Sorry I also need it working! Play with:
adb shell
sysctl --help
Maybe you get it working
Got it working
Code:
C:\Documents and Settings\cardsharing>ping 10.0.0.3
Pinging 10.0.0.3 with 32 bytes of data:
Reply from 10.0.0.3: bytes=32 time=2ms TTL=64
Reply from 10.0.0.3: bytes=32 time=1ms TTL=64
Reply from 10.0.0.3: bytes=32 time=3ms TTL=64
Reply from 10.0.0.3: bytes=32 time=1ms TTL=64
Ping statistics for 10.0.0.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms
But I playing with patch, not know how to make patch for it becouse it use command line... will try to make!
But if you know how to automate it here is how to:
- connect to wifi
- open android terminal emulator and type su
- accept root user
echo 1 > /proc/sys/net/ipv4/ip_forward
busybox iproute flush table main
busybox iproute flush table wifi
iptables -F
iptables -t nat -F
iptables -t mangle -F
- disconnect wifi and then connect
If not working first time try again until get it working
It working now! I tried ip webcam and ftp server, all working good!
But you need to toble dns "to allow" in phone settings in hiden menu, procedure is:
dial *#*#4636#*#*
enjoy
Thanks dude. i came back from holidays yestarday and im checking the new release!
just one question
How is the quality at your tests with ip cam cause is very bad in me and freezing often?
Thanks again...
kostasdimos said:
Thanks dude. i came back from holidays yestarday and im checking the new release!
just one question
How is the quality at your tests with ip cam cause is very bad in me and freezing often?
Thanks again...
Click to expand...
Click to collapse
No it's ok, I tried, you need smaler resolution to work correctly
All the same SwiFTP and other FTP clients can't work
PC cannot access to phone IP.

how to change rndis0 ip address 192.168.42.129/24

my android is 7.0 version,usb share to windows network and andriod rndis0 ipaddress is 192.168.42.129.
that can ping now
if I try to use
ifconfig rndis0 192.168.42.121,
then the windows can not ping 192.168.42.121.
I also try to set windows ip address static 192.168.42.x to ping 192.168.42.121,but can not ping,

Categories

Resources