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/netcat/files/netcat/0.7.1/netcat-0.7.1.tar.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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~Exile~
"When All Else Fails, Try Linux"
Hi, can you please specify the steps you followed to compile it?
Thanks
Venator85 said:
Hi, can you please specify the steps you followed to compile it?
Thanks
Click to expand...
Click to collapse
I still don't see the point of netcat on a tablet... I guess people use netcat for random weird things.
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?
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
Hello...the download link is not working ..I love your project and I need that urgent....please upload the file or send it to my email: [email protected] if u have ndk stand alone tool plz can u give me...I don't have much money and data in my area to download ndk...plz
Related
I am a not developer and dont know how to create apk, so i have a request to any developer.
Can make apk with script file, i have ready script file to push in apk
simple apk with one button to run script and progress bar.
SU permission required too.
for future updating of the script that could be replaced only into a script file in the apk
If you can make that simple apk tell me, then i publish the script. Thanx
Can't you just use script manager?
Sent from my LT15a using XDA
yes i can but first must install script with update.zip
next run script with terminal or script manager or adb shell from PC
Apk is universal and simply way to use, and dont require install update.zip before (i think so)
so meybe any dev help me?
What exactly are you looking for? A apk that runs scripts you give to it or just a apk that runs the script your talking about?
If it's just an apk that runs several scripts, the method to get them onto your phone will be the same I.e. You will still need the update.zip or adb push.
If it's just for one script it only takes a few lines of code, take a look on the portal one of the devs published a video on how to create a root app.
Sent from my LT18i using XDA
ok so i add script to attachment
Script make nandroid backup CMW
example of another application:
this is content of example apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i need to put script file in apk archive, example (or another folder in apk)
for future simple edit script without recompiling apk.
but i dont know how to compile this apk.
I'm still struggling with what exactly it is your looking for, if you code an apk yourself theirs more chances of bugs rather then say using a terminal emulator from a developer with a lot of experience. As for the progress bar, you would have to modify the script itself to report the current progress. Unless you want to get into dev then I would suggest you stick with terminal.
Else check this video from Adam, it gives you the basics and he also includes a link to his open source "shell" class.
http://www.xda-developers.com/android/how-to-build-an-android-app-part-2-writing-a-root-app-xda-tv/
The basics would be to get that app up and running yourself, make sure that it runs commands you give it. Then just have your script somewhere like "/sdcard/script.txt" and pass the parameters something like "su -c", "sh /sdcard/script.txt". That way you could always update /sdcard/script.txt and then just run your application.
It's easy to run scripts from in an app. But you need to code it not edit an excisting app
Are you wanting an app to automate cwm backups? ( my cwm autoinstaller does this )
I don't understand what you are after either lol.
Pvy
Sent from my TEAM Powered Arc S
Good Morning,
I like many unfortunate people restored my Samsung Galaxy S3 to factory settings thinking that it had a micro sd card, i was so wrong and to think i lost all my pictures, contacts etc. I was told by a good friend that it was possible to retrieve this data and to read the help guides in XDA Developers Forum.
Well, i was reading and learning how to do this by the help of Wartickler Post. I managed to install all the files, root my s3 and made sure my phone connected in ADB mode.
Now, On the second part of the tutorial is where i am getting problems, My mobile is connected in USB Debugging Mode, ADB Mode. My mobile has Busybox Installed via playstore, the ver is 1.20.2 and the install is /system/bin.
I open Crywin Terminal, enter the code "adb forward tcp:5555 tcp:5555", then "adb shell", i also enter "SU" for superuser then i am prompted with 1|[email protected]:/ #. I then enter the command "/system/bin/busybox nc -1 -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p12" i get the following error, nc: invalid option --1
Please see picture
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Link to picture if not working, sorry Crywin Terminal
Can someone please tell me if i have went wrong anywhere as i feel i am close to completing it
Much Appreciated
Stuart Grahame
You post a link to instructions for a different device, which probably uses a different partition structure hence why the failure.
I'd guess you'll need to work out which partition holds the internal storage on the s3, not sure how successful any data recovery would be but I wish you good luck.
Just read general > sticky roll-up thread > s3 storage data recovery.
Everything you need to know is there. No need for duplicate thread
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
See ^^^^Post Above^^^^
Thread Closed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks!
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
sureshsoori1 said:
K thanks for this tool we want simple tool for control android touch if the touchpad is broken or damaged...
Click to expand...
Click to collapse
Any features suggestion will be welcome I'll take more times for the next release:
Threading: not blocking main UI anymore
More fastboot & recovery functions
How about a one click unlock bootloader/root watch!? :good:
So, this is my new project so far. I'm trying to build a tool to help all Android Wear devices with simple tasks. At the moment, this is the initial release and I'll keep it updated.
What's inside the package?
Java Application: you can run it from any platform, Windows, Mac, Linux,...
A folder called "lib" including adb,fastboot for Windows & Mac. If using Linux, you need to find your own adb and put it under "Other" folder
I'm looking forward for your feedback and suggestion. Thanks![/QUOTE]
very good thank you
thank u
thank u pro......................
Hi tdiddy.2, i'm trying to enable adb over wifi on android wear. I have managed to make it work, but theres a lot of steps because you need to connect over bluetooth first. I know thats probably a way to enable adb over wifi direct over adb shell, but i dont know how to use adb shell well. Maybe you want to contribute? Thanks in advance.
Heres the link
Hi, I have a problem, I keep receiving subscription ads requests, it seems that it is from my cellphone company, since you can see the sim image in there but I am not sure. This are some examples:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Background info: (running Android 6.01, 26.3.B.0.131)
So I used to be on a cell phone company which had this subcription ads request (Movistar), but I changed to another one which they say they do not have any of that (Tuenti), with the same number, and they are both owned by the same company (Otecel), so maybe some settings from the old operator were kept in the new ones, I have talk and talk and talk with them, and i just keep receiving this ads.
Is Root the solution?
Maybe if root my device, I can disable the sim services app, or I do not know something else, and I would not receive this ads again, or what do you guys recommend me.
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Pixelado said:
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Click to expand...
Click to collapse
No, I have not tried not, because I do not know how to do it, could you please teach me , please noob steps
Sorry for being so late haha.
I'll assume you're using Windows 7 or newer.
Steps:
- Get ADB and proper drivers for your devices (Flashtool ships with all of this)
- Enable dev settings on your phone
- Enable USB debugging. Disregard all warnings
- Connect your Xperia to your PC via USB cable
- Wait for drivers to install
- Open a terminal/command prompt on your PC, point it to a directory where you have an ADB executable (adb.exe) (you can do this by opening the flashtool libs folder, eg: c:\flashtool\x10flasherlib, and right-clicking anywhere on the window while keeping the SHIFT key pressed)
- Issue the following command:
-- adb devices
Your phone should ask for authorization now. Grant it
- Issue the following command(s):
-- adb shell (this gives you access to your device's terminal from your PC)
-- pm disable com.android.stk
If the above command fails, try:
-- pm hide com.android.stk
- You're done
You can avoid using a PC by using a terminal emulator on your device AFAIK. I might be wrong though.
Hello everyone...
I find the phone with the non-working tuch ..
From the recoveri mode I managed to make a complete backup of the phone on sd and generated these 3 files:
userdata_20160101_000035.backup
userdata_20160101_000035.backup1
userdata_20160101_000035.backup2
is there a possibility to extract the content ???
I would be interested in contacts.
I state the phone is a Majestic
Thank you.
recovering contacts is not easy. you need SQLite Forensic Explorer to view the database file. the database is separated in many different tables, each table has a column "raw_contact_id" which contain always the unique id-no of contacts (one table contains phone nos, another table contains names, etc... you must query tables by id).
once you have extracted the backup, the file "contacts.db" is located "/data/data/com.android.providers.contacts/databases/"
from the backup I made, how do I extract the contacts.db file ??
remove the checksum(s) and merge the files. you need linux
don't be scared, i will explain you step by step. first step: do you have linux? if yes, press CTRL + ALT + T this is the terminal where you can do it. if no, please download unetbootin and prepare a bootable usb stick. you can run ubuntu on your pc without installing. don't hesitate to ask if you need help regarding unetbootin
scacco728 said:
finally I was able to understand something of the terminal in place ..
I move to the folder where the files are, I open the terminal I enter the commands and I generate this error .. why do you think ???
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
"dd" does not accept wildcards. press <TAB> instead of * for word completion. you must type the full file name. remove the stars in this example code.
edit: i will answer in this thread, because this are linux basics. so lets open a "beginner" thread here, and leave the other thread open for more advanced questions. finally, your goal is to extract contacts, what we should not discuss in main thread