Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
forsakenexile
Old
(Last edited by forsakenexile; 13th January 2011 at 02:01 AM.)
#1  
forsakenexile's Avatar
Junior Member - OP
Thanks Meter 4
Posts: 16
Join Date: Jan 2011
Location: O-Town
Post Netcat through Terminal

Installing NMAP to run via Terminal

Let me start now by saying, if you dont know what Netcat is, you shouldn't bother going any further. If you do, then I hold no liability on how you use the following information.



Netcat has been said to be the "Swiss Army Knife" of networking tools. Ergo, as a network/tech, I have used this Program for a long time.


You can read up on Netcat and research this tool before use at its home page @
http://netcat.sourceforge.net/

If you need to root your device, please visit http://nookdevs.com/NookColor_Rooting for the walk through process.

Following that you will want to install Superuser and su by following the steps found at http://nookdevs.com/NookColor_Instal..._Superuser_app


You can download the file as well on your own from
http://sourceforge.net/projects/netc...ar.gz/download


However, I have taken the time to unpackage the Tarbal and GZ to make it easier for this process.

Netcat files: http://www.megaupload.com/?d=S4K9QC60

First thing is of course unzip the folder. This install, compared to my last post regarding NMAP, will be slightly different. Once unzipped, there will be the primary folder holding all the files. Open your CMD/term, and run the ADB push command. For example, if the file is on my desktop, i will run


Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb push C:\Users\User\Desktop\netcat\netcat /system/bin
This will copy all the files within the netcat folder.


Old netcat users who used it when the syntax started with the command "netcat" will notice a difference in this revision. Now to run the commands, you simply use "nc".

To access the man page, type in nc -h and hit enter. If you installed the files correctly, you will get the following results.







~Exile~
"When All Else Fails, Try Linux"
Attached Thumbnails
Click image for larger version

Name:	device.jpg
Views:	2155
Size:	27.7 KB
ID:	488193  
The Following User Says Thank You to forsakenexile For This Useful Post: [ Click to Expand ]
 
Venator85
Old
#2  
Member
Thanks Meter 1
Posts: 39
Join Date: Dec 2009
Hi, can you please specify the steps you followed to compile it?
Thanks
 
khaytsus
Old
#3  
Senior Member
Thanks Meter 568
Posts: 5,791
Join Date: Apr 2008
Location: Central Kentucky
Quote:
Originally Posted by Venator85 View Post
Hi, can you please specify the steps you followed to compile it?
Thanks
I still don't see the point of netcat on a tablet... I guess people use netcat for random weird things.
Samsung Note i717 - 4.1.2, CM10 Nightly
Nexus 7 - 4.2.1, Stock Rooted
Try my Alternative XDA CSS Themes (including 2010!)

--
http://theblackmoor.net
http://unlimitedphoto.com
 
the_OnLy_BlAcKGhOsT
Old
#4  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Apr 2012
Location: Statesville
Default question

Hey I have been missing with around with terminal and all that on my ipod. I installed netcat and I looked around and saw that it could be used like a chat, but whenever I tried the code that they used it did not work for me. Can you help me? What am i suppose to use for the code?
 
alancilia
Old
#5  
Junior Member
Thanks Meter 2
Posts: 3
Join Date: Apr 2013
Default NetCat for app invertor

Hello

I just saw this tread and was thinking that the app inventor community ( including me ) has been looking for a TCP/UDP API ti send and receive data via tcp and udp is there a way to interface Netcat via appinventor so we can communicate with Ethernet enabled devices using this tool.

Thanks in advance
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...