promiscious mode / network (security) tools: nmap, wireshark, metasploit - Galaxy Tab General

Hi,
I tried to post it here http://forum.xda-developers.com/showthread.php?t=758755&page=6 but I don't have permissions (looks like not very wise forum restriction). Maybe someone finds this useful so I post it here in General forum.
I think I have to mention I'm on Overcome Hermes edition right now.
I installed Debian Chroot. Then I installed nmap. Works perfectly well
I Installed everything neccessary for metasploit and started it (console). Have not tested yet...
I've also managed to start wireshark:
1. Install vnc-server
2. Re-build & install libpcap (I did it on the device) without HAVE_PACKET_RING option
3. Re-build & install wireshark
4. Start vncserver
5. Start androVNC
6. Connect to localhost
7. Start wireshark ;-)
It works good, but putting device into promiscious mode brakes outgoing traffic while on WiFi connection (after few seconds or minutes). I'm satisfied using it without promiscious mode so far. Very convenient. Have not tested on 3G connection but there is no reason for PROMISC on PTP interface anyway.
Have not tested anything like aircrack because got no monitoring WiFi drivers.
Would be grateful if anyone gives a hint on what is wrong with PROMISC mode there.. (Is it really needed?..)
And it would be cool to have kernel with CONFIG_PACKET_MMAP enabled to avoid libpcap/wireshark rebuilds. I think default Debian libpcap requires this particular kernel option.
--Cheers

Related

Did anyone get Appinventor by Google running on HD2?

Hey guys,
I was granted access to the beta of Android App Inventor and wanted to start playing around with that software and my HD2 running android. However, I cannot manage to get a connection to the phone via USB. (Selection: Connect to Phone in Block Editor does not work for me).
So, is there anyone working with App Inventor paired with HD2?
Thank you for your help and advice in advance,
jokeR
Download the Android SDK (if you haven't already), and install the package, "Usb Driver Package, revision 3".
Then plug in your HD2, if it doesn't auto-install do the following:
Right click my computer - manage - device manager,
find your HD2 in Other Devices/leo
Right click it, Update Driver Software
Browse my computer for driver software
In the text box: C:\android-sdk-windows\usb_driver (adjust accordingly)
Click next and it should install.
also only some builds have usb connection working i am using darkstones build and usb works fine
Currently I use this build: "shubCRAFT CM6RC2/Froyo" .
I still did not manage to complete a connection. The Block editor quits with an error "We made a mistake! Please help by reporting this bug:
Problem getting project defitions for phone: ...longurl..."
I will retry installing SDK and Extras and driver.
So, after reinstalling everything it still does not work:
"Leo" is listed in Devices as: "Android Composite ADB Interface" - is that the right driver?
I also tried to use a virtual Android device utilizing the SDK, but sadly that did not work as well. I have the Desktop of the virtual Android on my Screen, but clicking connect in Block editor does not connect to the virtual device (the Leo is unplugged in that scenario).
:/
make sure USB debugging is enabled in the application settings
Yes I have App Inventor. It's working OK for my on Darkstones build, but like you, I have issues with Shub's build.
For some reason or another - and I'm not sure how - I got it running just fine with no phone connected at all. I was able to complete the project and save it just fine. Maybe it was a bug...
I tried Darkstone's built, had USB debugging enabled, but it still did not work for me Don't know what to do next.
Anyone working with virtual devices or other builds that could work?
Thanks in advance for your help.

[LINUX] - How To: UBUNTU on Dell Streak

EDIT: I can't post to XDA due to the fact that i just signed up for an account, but look at fards' copy of my post to see how to install Ubuntu on your Dell Streak
Here's Pats Post on modaco;
although it would be nicer to keep development discussion to just one thread, the more constructive input the better
Hello All,
I'm attempting to natively port Ubuntu and/or Debian to the Streak. With it being such a powerful device there really is no reason it SHOULDN'T be running a “desktop” operating system. However, implementing his is quite a difficult task, so if any and everyone's help would be very much appreciated.
In the mean time, this is my first guide on how to get ubuntu running piggyback on the Dell Streak. After quite a while (and numerous different trials), I have found that this is the easiest way to get Ubuntu Mobile up and running fast. All commands can be done through either ADB shell or the terminal emulator on the phone.
This was *NOT* done entirely by me, but is a culmination of the effort of lots of people in the android community. I just modified it so that it would work on the Streak.
**This Installation DOES NOT install Linux natively, and as such is should not be destructive to your Android system, however i take absolutely no responsibility for anything that happens and you do this COMPLETELY at your own risk**
Here is how to do it:
1) Root your phone. There are plenty of guides on how to do it, so find one and get root access on your phone.
**YOUR PHONE MUST BE ROOTED. THIS WILL NOT WORK WITHOUT IT.**
2) Download Ubuntu Mobile Bundle: http://uploading.com/files/bbm6b311/ubuntu.zip/
This contains an image of the filesystem as well as other necessary scripts to get it working.
2) Busybox - Install Titanium Backup from Android Market - if you press the "Problems" button it will install Busybox on your phone for you (Feel free to uninstall Titanium after this is done). This is the fastest and most pain free way to install busybox on the streak that i know of for now (the other ways of doing this ARE NOT fun...)
3) On your SD card's root directory, create a folder called ubuntu and extract all files in the ubuntu mobile bundle there.
4) Replace the bootubuntu executeable file in the ubuntu directory with mine, found here http://www.mediafire.com/?fi011w4fbmymw3y
5) Unmount phone from computer. ADB and Android Terminal will not work if the phone is mounted.
5) Download a terminal from the Android Market - I used Jack Palevich's Android Terminal Emulator (android market search: terminal) but anything similar should work the same
CODE
Code:
su
cd /sdcard/ubuntu
sh ubuntu.sh
6) Ignore any errors thrown up by ubuntu.sh. From this point, all that is needed to boot ubuntu is just to enter this:
CODE
Code:
bootubuntu
To start ubuntu from now on, this is all you need to do.
You should now have ubuntu working on your laptop, and while it DOES connect to your phone's internet sources, it DOES NOT yet have a graphical interface.
Here is how to add one:
1) Update the system with the following commands in ubuntu:
CODE
Code:
apt-get update
apt-get upgrade
The first one updates the package lists, the second one downloads updates to the system itself.
2) Install TightVNC in ubuntu:
CODE
Code:
apt-get install tightvncserver
3) Configure TightVNC:
CODE
Code:
export USER=root
vncserver -geometry 800x480
For security purposes, it is recommended that you assign a password to your VNC server when asked.
4) Download Android VNC Viewer from the market
5) Configure Android VNC Viewer:
Change the port to 5901 and type in your password that you entered before.
Other Problems
There appears to be a bug with the X window server sometimes refusing to connect to VNC. DO NOT change any settings on Android VNC Viewer, instead open a terminal and run the folloring command:
CODE
Code:
rm -R /tmp/.X11-unix
What Does Not Work – Will Try To Fix
Keyboard from Android VNC Viewer
Shutdown – Does Nothing
Reboot
Log Out
Native Install
I hope you guys enjoy this, and I can't wait to get your feedback.
- Pat
Click to expand...
Click to collapse
there was a thread about this but it wasnt work on me. now i am downloading and i will inform you again
what is the address for vnc ?
OMG! Could that be any slower on the download?
EDIT:
That sounded totally ungrateful - sorry!
Thank you very much for this
yeah works fine without problems.
it is better from g1 but not as well as a netbook. so only experimental use i think
I connected to the loopback 127.0.0.1 on 5901 and it worked - haven't seen how to connect to it remotely though
Edit:
Reading is fundamental - I can connect to it form another machine
now to fix the keyboard issue
in terminal emulator there is a note : localhost:1 vnc could work properly so i connect with only port and password.
is it possible to install jolicloud since its an ubuntu based system?
Newbie questions, sorry....
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
No your missing the point here, this isn't an OS separate to android. Think of this as an app it runs on top of the android system. Also this is very experimental most features would be limited and no ubuntu can't be used as an smartphone os -No phone...
beginner said:
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
Click to expand...
Click to collapse
1) Ubuntu does not replace android, and the UI only runs in a VNC server, so you can switch back and forth between ubuntu and the phone app (or angry birds?)
2) I installed mine on top of DJ Steve's 1.8.1 rom... It's not native, so it only runs on top of android instead of replacing it
3) Haven't tried audio yet, but it should work (let me know how it goes)... internet connectivity works and provided you have an internet connection enabled in android you can use tools like APT or Firefox in ubuntu... only problem is keyboard is a bit wonky...
For those who had trouble figuring out how to set up the VNC, here is a picture of my VNC configuration on my phone. If you find out the phone's IP address you should even be able to VNC into it from your computer (if your on the same wifi network)
Also, openoffice.org
- pat
Is anyone actively attempting to get Ubuntu running native?
audio not working
keyboard not working
also lots of lags.
ear0wax said:
Is anyone actively attempting to get Ubuntu running native?
Click to expand...
Click to collapse
Yes, i'm looking into it, but it's quite an uphill battle in order to get it working. I'll let everyone know when we make some progress.
www.cepdukkani.net said:
audio not working
keyboard not working
also lots of lags.
Click to expand...
Click to collapse
cause you are running 2 operating systems at the same time
But seriously, if ubuntu can run native (no android in the background) then the lag would be gone, and (if set up right) audio and keyboard would work.
- pat
could i recieve phone and uses sms?
Getting error
Hi all after passing command for booting ubuntu I get a error chroot can't find /bin/bash folder or directory missing
Sent from my Dell Streak using XDA Premium App
www.cepdukkani.net said:
audio not working
Click to expand...
Click to collapse
Im wondering if I install a rdp server instead of vnc if I can get remote audio working.
Ill post with whatever results i get once I'm done waiting 2 hours for the ubuntu image to download.
As for lag. I had a n900 running @600mhz and was doing a chroot into ubuntu and it ran fine, but it used xpyher not vnc. Is there any embedded X servers for android yet? (I highly doubt it)
data requirement for updating GUI pkg of Ubuntu
Can any body tell me size of the data required to update to gui ......as i m not using wi -fi i hv to stick on gsm data usage which is limited in my plan
Very cool!
I had lots of trouble rooting my 2.2.2, but finally got it done by running Gingerbreak twice in a row on a cleanly re-started Streak.
Thanks for a fun gig!

[HowTo] use 3G Dongle on TF101 *UPDATED 04/13/2012*

Hello,
(First sorry for my very bad english. It's not my natural language but I do my best for sharing with you!)
04/13 - UPDATE: Now 3G works for ICS with some ROMs like Megatron.
Revolver will be based on TF101G ICS ROM soon.
09/17 - UPDATE:Roach2010 and gnufabio have developped an apk that enable Mobile Network settings (for 3G dongle).
Their APK change the bootloader. (Read more and download)
So maybe this thread has no purpose except for issues and for the list of compatible dongles. If you have a dongle which work and which is not in the list.....
11/08 - UPDATE: 3G dongle works too with Extension-Kit/TFUSB1 Asus P/N 90-XB2UOKEX00020
You can find it here: http://shop.asus.fr/shop/fr/fr-FR/Home/1-Produits/1500-Collection-ASUS/1936-Accessoires-Eee-Pad/1937-Accessoires-Transformer-Prime-TF201/90-XB2UOKEX00070-Adaptateur-USB-externe-pour-ASUS-Eee-Pad.aspx (Thanks to ValenteL for information)
************************************************************
Bellow you can find the first post
Thank you,
Regards.
FIRST POST:
There is probably other ways to make the 3G Dongle working on TF101 but here you can find how we have done.
The follow lines work to have Prime v1.5 installed on your Transformer (works with any version!)
Then you could upgrade to Revolver 2.1.
Otherwise you can directly nvflash your TF101 with the Revolver 2.5 NVFlashed version of cuckoopt.
You just have to follow instructions on this post.
Don't forget to thank him if it works for you
Note: SetCpu doesn't seem to work. I don't know if the issue is coming from Revolver or HC. By re-installing SetCpu, it works one time then crashes.
A. Prime V1.5 Installation:
1. You have to backup all your data/apk from your Internal SD Card because we will make a clean install. So use your backup software.
Becareful. if you project to use Titanium Backup, his backup files are on the internal SD Card so afterwards, you have to move it to your MicroSD (from /mnt/sdcard/Titatium Backup to /data/Removable/MicroSD)
2. Download NVFlash: http://www.filefactory.com/file/ccda97c/n/nvflash.zip then the NVFlash version of Prime v1.5: http://www.sdx-downloads.com/devs/roach2010/flash_roms/prime_v1.5_nvflash.tar.bz2
Updated note: I am not able to activate the Mobile Network option with version 1.6 (even Zip version for ClockWorkMod nor NVFlash version).
But some people have succesfully activated it by flashing NetFinder 1.5 just after the fresh Install of Prime v1.6 and before rebooting the system ; it means in the same CWM
3. unpack NVFlash and Prime v1.5 in the same directory. The image files of Prime v1.5 should be unpacked into the NVFLashTF folder.
4. Connect your TF101 to your PC via USB. Then hold the volume UP and Power button until a NEW device named "APX" appears in the Device Manager. Note that the screen of the Transformer stays black.
5. Click on the APX to install drivers from directory USBPCDriver (included in NVFlash.zip)
info: I used Windows XP 32 bits.
6. Then run Download.bat if you are on Windows, download.sh for Linux users
7. When NVFlash is ended, reboot your TF101.
During boot, there is a setup wizard. Choose connection with "3G and Wifi", not "only Wifi"!!
At this step, you must have the Mobile Network option in Parameters.
8. Download Maxh2003 Script: http://android.modaco.com/index.php?act=attach&type=post&id=73836 (you need to be a register user on Modaco You could find another link some posts after!)
Download the Patch files for ACER A500 tab: http://forum.xda-developers.com/attachment.php?attachmentid=638588&d=1309189189
9. Unzip the script and the Patch file in the same directory.
If you want to upgrade to Revolver 2.1 version (HoneyComb 3.2), you must stop here and go to step B (chapter B).
Otherwise continue chapter A.
10. Connect your TF101 and run install-TF101.bat
11. Mobile Network option is here.
B. REVOLVER 2.1 Installation
1. Do a fresh install of Prime v1.5 NVFlsh version.
If it's not the case go back to the begin of this post and execute steps A.1 to A.9. then go back to B.2
2. Download this file
3. If you read this, Prime v1.5 NVFlash version is installed and you are in CWM Recovery screen.
Install the Recovery 2.1 version (Full). DON'T WIPE DATA
4. At the end, just reboot your system and verify that Mobile Network option is still here.
5. Then we have to install drivers for your dongle (see the list below for compatible dongles).
Let your TF101 on, connect it to your PC via USB cable and run install-TF101.bat via cmd.exe from Windows (tested under Windows XP x86 and Windows 7 x64)
C. List of COMPATIBLE DONGLES
Note: if your dongle is not in this list, but works with TF101, please tell me. It will be added to the list.
* ZTE MF 639 (might need roaming enabled to get data working)
* Alcatel X225L (thx to urko95)
* Vodafone K3765-H
* Vodafone K3715
* Vodafone K3565 / Huawei E160
* Huawei E156G (thx to sh337 for testing)
* Huawei E160G (thx to htc-hd2. His post)
* Huawei E161 (thx to zumbik. His post)
* Huawei E169
* Huawai E170
* Huawai E171
* Huawei E173 (ATTENTION: E173 EVO version NOT COMPATIBLE - thx to sronweb for his tests - Read more)
* Huawei E180 (thx to ValenteL. His post)
* Huawei E220 (thx to eyz. Connexion seems to be not stable. Read more)
* Huawei E270 (thx to eyz. His post)
* Huawei E1550
* Huawei E1552
* Huawei E1692
* Huawei E1750
* Huawei E1752
* Huawei E1762 (thx to bennyyen. His post)
* Huawei E1820
* Huawei E1823 (Thx to bswpt. His post)
* Huawei E2010 (Thx to madangryscientis. His post)
* HUAWEI K3520
* HUAWEI K3565 -Rev 2
Click to expand...
Click to collapse
D. About LED on HUAWEI 3G Dongle:[/B]
The LED indicator displays the current connection status of your Orange E1752 dongle, with each colour representing a different status:
When the LED displays green and is blinking twice every three seconds, this means that the dongle is powered on.
When the LED displays green and is blinking once every three seconds, this means that the dongle is attempting to register onto a 2G network.
When the LED displays blue and is blinking once every three seconds, this means that the dongle is attempting to register onto a 3G network.
When the LED displays solid green, this means that the dongle is connected onto a 2G network.
When the LED displays solid blue, this means that the dongle is connected onto a 3G network.
When the LED displays solid cyan, this means that the dongle is connected onto a 3G+ network
When the LED displays no colour, this means that the dongle is removed.
Click to expand...
Click to collapse
And dont forget to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco who wrote these lines):
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Click to expand...
Click to collapse
Remerciements/Thanks to AndroidRoot.mobi for NVFlash, Paul for Prime!, Maxh2003 for his script and help, Matchstick for his help, Dexter_nlb for his A500 patch and, of course, all our developers and users who help us.
Not sure why I've flashed several roms in APX from w7 64 bit just fine.
It seems that these drivers don't work for win7 64 and works for Vista 64.
Perhaps they are unsigned.... didn't know. I don't make more tests.
Regards.
Looking good. Now to get a 3G plan and dongle...
Anyone get this working?
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
nsec said:
to kasimodo
Could you upload Maxh2003's scrift file here. I can't download it from your link.
Thanks
Click to expand...
Click to collapse
Here the file.
Regards
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
dan-htc-touch said:
insmod is having no luck with these kernel modules, none are loaded, and I get nothing??? what's the deal? has anyone got this working including the OP or is this just a theoretical WIP
Click to expand...
Click to collapse
Hello it's not a theoretical WIP.
Look here
Can you give more details please?
Regards,
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
dan-htc-touch said:
oh... I guess insmod won't work on the modules without a compatible modem plugged in then?
Click to expand...
Click to collapse
Probably. is you 3G Dongle in the "compatibility list".
If yes, you have to turn off the composite device of the 3G dongle.
Here how to do (thanks to Matchstick from Modaco):
Code:
You can test this by plugging the stick into a PC and seeing if it detects the modem as a CD or Memory stick device as well as a modem.
If it does then the method I used to turn off the composite device (on Windows 7) was:
1) Install the software and drivers for the modem under windows and make sure that the connection software sees the modem correctly.
2) Go to Settings/Control Panel/Device Manager and if you expand the Modems section you should see your USB modem listed there
3) Double click on the entry for the modem to get the properties panel up and selected the Modem tab
4) You should see a line at the very top of the tab that says something like Port: COM11 - This is the virtual serial port that the PC uses to talk to the modem which we're going to use to send the command to turn off all the stuff we don't want.
5) Next we want to install a serial console application. PuTTY is perfect for this. If you don't have a copy you can get if from here,
http://www.chiark.greenend.org.uk/~sgtatha...y/download.html
6) Run putty, select Serial under Connection Typem and enter the port we found in step 4 (eg COM11) into the box marked Serial Line and press the Open button
7) An empty window should pop up, which if things are working correctly is connected to the Modem
8) Type "ATI" into the window (without the quotes) and press return. The ATI command asks the modem for basic information and it should respond with something like
Manufacturer: huawei
Model: E1752
Revision: 11.126.03.01.314
IMEI: 123456789012345
+GCAP: +CGSM,+DS,+ES
OK
9) If you see this then you are connected correctly, if you don't see a response try physicaly unplugging and reconnecting the modem into a different USB port and start again from step 2 after windows has loaded the drivers for the modem.
10) Assuming everything is OK, the we can send the command to turn off the stuff we don't want. To do this simply type "AT^U2DIAG=0" (again without quotes) into the putty window. you should see the response OK.
11) If you do then the composite device features should now be turned off and you are ready to try the modem in your transformer.
Regards
brensim said:
many thanks! got it to work on my E1750
although you might want to put the instruction steps to remove the storage on the modem (only works after I did it):
Insert modem into pc and wait for driver to install
check in device manager which com port is assignated to your modem
download putty
here the.earth.li/~sgtatham/putty/latest/x86/putty.exe
close every program related to modem
run putty
click serial below port number and then change port number to one previously founded
click open
write atz and press enter, modem should answer ok
write ati and press enter, modem should give name, type, etc
write AT^U2DIAG=0 and press enter, zero cd is now disabled
Click to expand...
Click to collapse
What kind of OTG adapter are you using for this?
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
acid12 said:
Hi all,
will this work with the Huawei E173u2 , the second version adapted for (pseudo)"4G" networks
Click to expand...
Click to collapse
Is this similar to the huawei E367 ? As I'm looking at the E367 at the moment.
One easy(ish) way to check is to follow Steps 1-8 from post 12, then enter the command "AT^GETPORTMODE" (without the quotes)
If you get a response like
"^getportmode:type:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3,CDROM:4"
then the E173u2 is using the new interface like the E367 and at the moment I can't get it to work.
It may be that the drivers aren't compatible (I'm not seeing ttyUSB0-ttyUSB2 devices appearing in /dev/) or it may just be that I haven't got the correct interfaces enabled.
There's information on the AT commands for the new-style Huawei modems here
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=618504
Matchstick said:
At the moment, everyone who has got this to work has had to install Prime 1.5 (and several of us had to install the NVFlash specific version of Prime)
Click to expand...
Click to collapse
So i think that it is not only root needed but also something that in PRIME is present and that we can not add to stock rom.....
thanks
chrispazz said:
I am with stock 3.1 + root.
Does it work or I need to install PRIME anyway?
Click to expand...
Click to collapse
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Kasimodo said:
you can try by using Settings/Privacy then Reset to factory
Then restart and hen wizard ask you to choose for "3g and wifi" or "wifi only" choose 3g and wifi
Afterward you must see mobile network in settings.
tell us and don't forget to backup your data
Click to expand...
Click to collapse
Ok. I have to wait for my docking to come back from ASUS (RMA) and then I will try.
TY

[How To] Http Proxy on Amazon Fire TV Stick (non root)

Hi,
I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).
But it is still possible.
1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)
2. Activate Apps from unkown sources and ADB
Settings --> System --> Developersoptions
3. Make sure your are connected to the same network as your pc.
4. Sideload following app:
Code:
AndroidProxySetter:
github.com/jpkrause/AndroidProxySetter/releases
How To sideload:
aftvnews.com/sideload/#more-7959
5. Start the App over adb on your pc:
Code:
//connect to device
adb connect 192.168.1.184:5555
//check the connection
adb -s 192.168.1.184:5555 get-state
//start app
adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd
Where u would replace the device ip, host, port, ssid and key with the settings of your network.
Please mind that ur on a linux based system and everything is case sensitiv.
For more options look here:
Code:
github.com/jpkrause/AndroidProxySetter
5. Now, if everything is fine some little popups will be displayed and at last it should say connected.
6. Going back to the home screen and Done.
Known issues: After some major updates you will need to set the proxy again, so just repeat step 4
It should also run on the normal AFTV but i got none so i can't test it.
All Credit goes to JPKrause who wrote that little app, I just happend to find it
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
how to setting up proxy using pac file?
N4b0 said:
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
Click to expand...
Click to collapse
how to setting up proxy using pac file?
zcrself said:
how to setting up proxy using pac file?
Click to expand...
Click to collapse
Hi,
well I guess the AndroidProxySetter doesn't cover any way to use PAC files.
But you can actually open your pac file with an editor of your choise and extract your proxy settings from the containing functions.
bg N4b0
Hello, I have this working on a Fire Stick, I ran the commands on a Fire TV and is not working. Anyone has this working on a AFT (no stick)?
Any help is appreciated.
Thanks.
edit: it not working anymore on my fire tv stick, I see the connection going to the proxy but in the screen it says invalid_geo_ip, somehow they manage to get my original ip. My gf is american, and we are abroad, this was the only way to watch amazon content. Sad. I'll try to get a vpn instead, but this proxy setting was easy configuration.
Hi mastodonian,
in my case it still works like a charm on the AFTVS. I just tried it over a vpn that my home server provides, but the tv stick then says something about geo restriction even though its a german vpn. I suppose they are doing some kind of deep packet inspection or they got an ip blacklist.
Can't say but eventually the proxy you are tring to connect uses internally a vpn or is on a blacklist.
Cheers n4b0
can someone help me with this one im a bit slow on following instructions especially codes like these
gjhech said:
can someone help me with this one im a bit slow on following instructions especially codes like these
Click to expand...
Click to collapse
its pretty simple just do the following
Download adblock plus and install it on your firestick - use the power of google or an app store on your fire stick to get it
Download this app to your pc - https://github.com/jpkrause/Android...d/v0.1.3-alpha/proxy-setter-release-0.1.3.apk
Adb this app to your firestick by (assuming you have adb installed if not google howto)
enable adb on the fire stick in dev options if not already done so
adb connect 192.168.1.1 (change the ip address to your firesticks)
adb devices (you should see a list of devices connected if adb is working with your firestick ip address and port number)
adb install (then drag and drop the apk file into the command window - This will auto complete the path of the apk to save you entering it manually)
once the apk is installed
Code:
adb -s 192.168.1.1:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host localhost -e port 2020 -e ssid MyWifiName -e key MyWifiKey
Starting: Intent { cmp=tk.elevenk.proxysetter/.MainActivity (has extras) }
Change the ip address in the above code to your firestick ip address - the numbers after the : is the port address - it should match what you saw when you typed adb devices
Change the ssid to your wifi name and key to your wifi password
you will get some pop up windows on the firestick telling you if it has succeeded or you have errors
next open adblock plus and enable adblocking
restart the firestick
open adblock plus again and you shouldnt see the warning about it cannot manually set the proxy at the top of the screen
load up an adblock test website to test its working
Thank you for making this method clear and easy. However, even though I get the successful messages and the proxy chnages to localhost and the Port to 2020, Ad Block Plus still shows the "please configure manually" message after reboot.
Testing on some apps, the ads are most definitely not blocked!
Any suggestions?
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
It works perfect
I bought FireStick today and it wouldn't let me connect to Amazon as my ISP has made mandatory to use HTTP proxy.
I followed your step wise instructions and it worked. Thanks a ton
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
pdesai91 said:
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
Click to expand...
Click to collapse
Hi,
I actually had to do this myslef recently so what i did was just remove the network via the GUI and add the network again.
If you have to do this over ADB you should try to remove the network and add it without proxy flag
Cheers N4b0
xbarsasy said:
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
Click to expand...
Click to collapse
Well I have to clarify i did not make this app i just found it and put it to good use
On the issue i cant really say how to force him using the proxy. This method just configures the android intigrated Wifi network stack that supports proxys since 2.X is suppose. If an app like Netflix detects this, then u need an other method.
For windows i got an app called Proxifier, but until now i didnt find anything similar for android.
Only alternativ solution for your problem I can think of would be to configure your Accesspoint with a VPN on a second virtual network (well that's how i would do it).
Cheers N4b0
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Poareq said:
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Click to expand...
Click to collapse
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Not working for me too
uj812 said:
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Click to expand...
Click to collapse
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Solved... I think
phildani7 said:
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Click to expand...
Click to collapse
Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
The solution is simple! The latest version of the FIreTV OS includes a proxy setting!
Just follow Step 1. in the instructions here: Blocked
The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018
Since I've been blocked from posting a URL, here are the slightly modified instructions:
Setting a proxy on Fire TV
Bring up the Developer Tools Menu by one of the following two ways:
Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
Select Network Proxy
Select Manual
Enter your proxy IP address
Enter your proxy port
Click Save
Enjoy!
Hi All,
These proxy setting were working for me until the last update on OS 6.x and OS 7.x. The Developer setting app crashes on selecting save on the Network settings and the IP/port info is not saved.
Is someone else facing same issue.. Any work arounds?
Try this. It worked for me.
Use this .apk AndroidProxySetter. Install and follow the commands. It will route Network traffic to Charles proxy.
https://github.com/manadream/AndroidProxySetter

Kali NetHunter On MI 9T

Hello Everyone!
I saw on the website of offensive security that they are released The official NetHunter For Mi 9T my question
Does the Internal wifi support packet injection and monitor mode (without external USB adapter)
Thanks Again I really need help guys.....
deigo775 said:
Hello Everyone!
I saw on the website of offensive security that they are released The official NetHunter For Mi 9T my question
Does the Internal wifi support packet injection and monitor mode (without external USB adapter)
Thanks Again I really need help guys.....
Click to expand...
Click to collapse
-There is a thread about Kali NH for Mi 9T, probably in Guides section or so
-If they didn't release a new, that "official" Kali was released long ago and I tested it with MIUI 11 (not sure would the same "add-on" package work correctly with MIUI 12)
- Monitoring WiFi works but Packet Injection does not work, you can find more info how/why in that thread
- Later I also installed Kali NH manually (how-to was described also in that thread) to MIUI 12 (still A10) and got the same: Monitoring working, Injection not
In short - you can install Kali NH to Mi 9T and WiFi monitoring will work out of the box (because NH recognizes Snapdragon and uses special command to put to the Monitor mode) but Packet Injection will not work (the most I found about was that it would require a special kernel)
zgfg said:
-There is a thread about Kali NH for Mi 9T, probably in Guides section or so
-If they didn't release a new, that "official" Kali was released long ago and I tested it with MIUI 11 (not sure would that package work correctly with MIUI 12)
- Monitoring WiFi works but Packet Injection does not work, you can find more info how/why in that thread
- Later I also installed Kali NH manually (how-to was also described in that thread) to MIUI 12 (still A10) and got the same: Monitoring working, Injection not
In short - you can install Kali NH to Mi 9T and WiFi monitoring will work out of the box (because NH recognizes Snapdragon and uses special command to put to the Monitor mode) but Pcket Injection will not work (the most I found about was that it would require a special kernel)
Click to expand...
Click to collapse
Thanks for the useful information
So the Airodump-ng works?
Can i connect the external adapter To the device ? And use it For packet injection You know ( using it as the wifi) And Thanks again
deigo775 said:
Thanks for the useful information
So the Airodump-ng works?
Can i connect the external adapter To the device ? And use it For packet injection You know ( using it as the wifi) And Thanks again
Click to expand...
Click to collapse
Didn't have/try external WiFi adapter but that should work (in that case both Monitoring and Injection must work over the adapter, no more the Snapdragon)
I was even able to break my own WiFi but instead of Packet Injection (to disconnect and initiate new reconnection on the second phone) I had to manually start connecting to my WiFi my second phone while Mi 9T was in monitoring mode - then it caught up and broke the pass
zgfg said:
Didn't have/try external WiFi adapter but that should work (in that case both Monitoring and Injection must work over the adapter, no more the Snapdragon)
I was even able to break my own WiFi but instead of Packet Injection (to disconnect and initiate new reconnection on the second phone) I had to manually start connecting to my WiFi my second phone while Mi 9T was in monitoring mode - then it caught up and broke the pass
Click to expand...
Click to collapse
Sorry for bothering Can U give a full guide on how to install official NetHunter on MI9T
deigo775 said:
Sorry for bothering Can U give a full guide on how to install official NetHunter on MI9T
Click to expand...
Click to collapse
Its been months I had uninstalled Kali NH (and later reformatted and switched to different firmwares), hence cannot support you but read another Q/A thread for Kali on Mi 9T, particularly the posts #21,23,27,32 - all steps were documented there (post #27):
https://forum.xda-developers.com/showpost.php?p=83160165&postcount=21
https://forum.xda-developers.com/showpost.php?p=83226095&postcount=23
https://forum.xda-developers.com/showpost.php?p=83271769&postcount=27
zgfg said:
Its been months I had uninstalled Kali NH (and later reformatted and switched to different firmwares), hence cannot support you but read another Q/A thread for Kali on Mi 9T, particularly the posts #21,23,27,32 - all steps were documented there (post #27):
https://forum.xda-developers.com/showpost.php?p=83160165&postcount=21
https://forum.xda-developers.com/showpost.php?p=83226095&postcount=23
https://forum.xda-developers.com/showpost.php?p=83271769&postcount=27
Click to expand...
Click to collapse
I can't Find A Word To Thank You You Really Helped Me a lot Thanks Mate Hope You Get Wonderful Day
My last question is i successfully installed the Net hunter and enabled The Monitor mode On wlan0 Using echo mode (Wifite and airodump-ng ) Are Working But Reaver and Wash having Trouble When Run the reaver and wash I got (found Bad packet with Bad fcs ignoring..) i try to run wash -i wlan0 -F but not detecting the Netwoks
deigo775 said:
I can't Find A Word To Thank You You Really Helped Me a lot Thanks Mate Hope You Get Wonderful Day
My last question is i successfully installed the Net hunter and enabled The Monitor mode On wlan0 Using echo mode (Wifite and airodump-ng ) Are Working But Reaver and Wash having Trouble When Run the reaver and wash I got (found Bad packet with Bad fcs ignoring..) i try to run wash -i wlan0 -F but not detecting the Netwoks
Click to expand...
Click to collapse
I'm glad that it worked to you. I spent in the summer a day or two on setting it up and documenting, good if it can help to others (there were couple of issues with chroot and sudo where I wasted a time to find the proper way to install)
I don't remember such details anymore - you can check in that theead my posts and screenshots if I reported (if I would have an issue bothering me, I would usually report/ask there)
Not sure anymore, maybe one method did not work and attacking always skipped over to the next method
Btw, are you using a stick or a built-in Qualcomm WiFi chipset, also, what was your firmware or custom Rom?
And does Packet injection work for you - i.e. can you jump from monitoring mode to cracking mode without the need to manually reconnect WiFi on the other phone/laptop (to capture its handshaking eith the WLAN AP)?
zgfg said:
I'm glad that it worked to you. I spent in the summer a day or two on setting it up and documenting, good if it can help to others (there were couple of issues with chroot and sudo where I wasted a time to find the proper way to install)
I don't remember such details anymore - you can check in that theead my posts and screenshots if I reported (if I would have an issue bothering me, I would usually report/ask there)
Not sure anymore, maybe one method did not work and attacking always skipped over to the next method
Btw, are you using a stick or a built-in Qualcomm WiFi chipset, also, what was your firmware or custom Rom?
And does Packet injection work for you - i.e. can you jump from monitoring mode to cracking mode without the need to manually reconnect WiFi on the other phone/laptop (to capture its handshaking eith the WLAN AP)?
Click to expand...
Click to collapse
Thanks Buddy Iam First Iam Using Miui Global Rom 11.0.5 Than flash the official NetHunter from their website Using The Method U send me in previous Post let's Talk about injection packet and monitor mode on external Adapter My Chipset is (RT2800 (Ralink Rt3070)) everything works with it successfully...
Now let's Talk about The built-in wifi i set up monitor mode by (echo "4" > /sys/module/wlan/parameters/con_mode) So The Wlan0 welll become in monitor mode (Now set (Wifte -i wlan0) u can see the Netwoks how ever The Reaver and wash Cant work it shows error
The injection mode don't work
deigo775 said:
Thanks Buddy Iam First Iam Using Miui Global Rom 11.0.5 Than flash the official NetHunter from their website Using The Method U send me in previous Post let's Talk about injection packet and monitor mode on external Adapter My Chipset is (RT2800 (Ralink Rt3070)) everything works with it successfully...
Now let's Talk about The built-in wifi i set up monitor mode by (echo "4" > /sys/module/wlan/parameters/con_mode) So The Wlan0 welll become in monitor mode (Now set (Wifte -i wlan0) u can see the Netwoks how ever The Reaver and wash Cant work it shows error
The injection mode don't work
Click to expand...
Click to collapse
Oh, you are still on MIUI 11 - you're probably saving your battery or what ?
For MIUI 11 you could have also flashed their official pre-built image for Mi 9T (I had it when I was on 11.0.3 EEA - easier installation, same nett results)
Btw, if injection does not work with your adapter, you could have the same with 9T alone (monitoring ok, injection nok)
At the end I was dissapointed (and I uninstalled, and didn't install again when I moved to Xiaomi.eu firmware) since to break my own WPA-PSK i had:
- to manually initiate WLAN reconnection on the other phone to capture its handshake (because of lacking the Injection) to enter to the cracking mode
- to put my (kn)own PSK for the WLAN under attack to the Kali's Dictionary (maybe because a more sofisticated method did not work and this was the only way to make the brute-force method to succeed cracking)
All together not useful for any real-case cracking (although I didn't want to use it for real cracking, I tested only with my WLANs at home, friends and family)
And all that for the price of about 9 GB on /data

Categories

Resources