New tutorials from Helloandroid
Recent Apps
Android on Twitter
-
@619Apps (iPhone App Developer)'Xperia Sola' trademark hints at another possible Sony handset for the U.S. - http://t.co/atxhdfFz #iPhone #android #apps
2 hours 43 min ago -
@ayakaarchdia233 (Love)I've just received an achievement: Discriminating Shopper https://t.co/LDVOSV6I #Android #Androidgames
2 hours 43 min ago -
@DevrynBluelagon (Devryn Bluelagon)I've just received an achievement: Novice Photographer https://t.co/NpjOoveN #Android #Androidgames
2 hours 43 min ago -
@games_lma (leila marie ashley)I've just received an achievement: Persistent Shopper https://t.co/vTs6DSor #Android #Androidgames
2 hours 43 min ago -
@hawkhugh (hawkhugh)Apple's iPad3 http://t.co/T9dSUJA9 #apple #ipad3 #iphone #android
2 hours 43 min ago
Poll
Useful resources
Android Development Projects
- Android App: GPS: Form: Database: Website by danishayubb
- Jquery Mobile Project 01 by menfirst
- Simple Android App to load our Mobile Site - Hiring NOW! by steadysystems
- mobile app by ultimaterrrr
- android apps by vaneet08
- Online food shopping app (anroid) by akshaynawale
- Android eBook / reader Application by bamohriz
- Android app 50k downloads by nhcteam
- Beautiful Android Live Wallpaper by wahid2o11
- App downloads by nhcteam



NMAP FOR ANDROID CROSS COMPILE ARM
# from android root prompt
wget http://rmccurdy.com/nmap.sh
sh nmap.sh
cd /data/local/bin
nmap -v -iR 50 -PN -p 80 -n -A
This MAY work for other platforms but tested on cygonmod as of 2/18/2010 on
Android G1 plan to APK package this up with other security tools
ruby/metasploit etc ..
• SYN scans may not REALLY be working … along with other ‘features’ of nmap .. INS/NMAP/ to
• Copy eveything in http://rmccurdy.com/stuff/G1/B
/data/local/bin on the Android and cd /data/local/bin
• You may need to ‘mount -o remount / /` and put sh or bash ( the busybox bash ) in /bin/sh android reference es.com/android
• Or alternative export SHELL=/system/bin/sh may work ..
• http://delicious.com/operat0r/
• Some tips for cross compiling:
- Start with simple! bash or ‘hello world’
- Make sure the file is ARM / STATIC
nmap: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, statically linked, not stripped
- If you get ‘not found’ it may be the /bin/sh issue or missing libs
- You can use strace and gdb from my site or http://ortegaalfredo.googlepag
-
For nmap and others I had to pre compile the libs and or hack up the
configure and/or make file so if something fails try to compile each
lib in the folder take it folder by folder
EXAMPLE OUTPUT:
uname -a
Linux localhost 2.6.29.6-cm42 #11 PREEMPT Sun Jan 3 23:10:50 EST 2010 armv6l GNU
/Linux
#
Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2010-02-18 19:04 UTC
Warning: OS detection will be MUCH less reliable because we did not find at lea
st 1 open and 1 closed TCP port
Interesting ports on diecastaircraftshop.com (63.249.18.249):
PORT STATE SERVICE VERSION
21/tcp open tcpwrapped
25/tcp open smtp?
80/tcp open http Microsoft IIS webserver 7.0
443/tcp open https?
Device type: general purpose
Running (JUST GUESSING) : FreeBSD 5.X (85%)
Aggressive OS guesses: FreeBSD 5.3-STABLE (85%)
No exact OS matches for host (test conditions non-ideal).
Uptime 43.977 days (since Tue Jan 5 19:39:44 2010)
Service Info: OS: Windows
Nmap finished: 1 IP address (1 host up) scanned in 141.397 seconds
#
MINI HOWTO:
# you need sun-java5-jdk buntu/ jaunty multiverse' >> /etc/apt/sources.list buntu/ jaunty-updates multiverse ' >> /etc/apt/sources.list
echo 'deb http://us.archive.ubuntu.com/u
echo 'deb http://us.archive.ubuntu.com/u
apt-get update
apt-get install build-essential -y
apt-get install m4 -y
aptitude install git-core git jfsutils xfsprogs quota isdnutils-base nfs-common oprofile -y
apt-get install sun-java5-jdk -y
# toolchain for cross compile gpp/lite/arm/portal/package369 6/public/arm-none-linux-gnueab i/arm-2008q3-72-arm-none-linux -gnueabi-i686-pc-linux-gnu.tar .bz2"
wget "http://www.codesourcery.com/s
http://zenmachine.wordpress.co m/cross-compiling-ruby-to-arm- processors-t... .jp/takuma104/
http://android-dev.g.hatena.ne
# download nmap-4.01.tar.gz /libpcap-0.7.1/ ' change to your path
# precompile dftables cd ./libpcre/ ; ./configure ; make;cp dftables /usr/local/sbin/
# make clean and cp /usr/local/sbin/dftables ./libpcre/
# precompile libpcap I got libpcap-0.7.1 to compile OK for AM '
--with-libpcap=/home/operat0r
# before you make vi the Main Make file to STATIC = -static
# my last line after make looked like:
arm-none-linux-gnueabi-g++ -Llibpcap -Lnbase -Lnsock/src/ -static -o nmap main.o
nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o
output.o scan_engine.o timing.o charpool.o services.o protocols.o
nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o
FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o tty.o
nmap_dns.o -lnbase -lnsock libpcre/libpcre.a -lpcap
libdnet-stripped/src/.libs/lib dnet.a -lm
export ac_cv_linux_vers=2.6.31 rm-none-linux-gnueabi-gcc -static rm-none-linux-gnueabi-ld rm-none-linux-gnueabi-ar rm-none-linux-gnueabi/bin/ranl ib q3/bin q3/ q3/lib
export CC=/usr/local/arm-2008q3/bin/a
export LD=/usr/local/arm-2008q3/bin/a
export AR=/usr/local/arm-2008q3/bin/a
export RANLIB=/usr/local/arm-2008q3/a
export PATH=$PATH:/usr/local/arm-2008
export PATH=$PATH:/usr/local/arm-2008
export PATH=$PATH:/usr/local/arm-2008
export ac_cv_func_getpgrp_void=yes
export ac_cv_func_setpgrp_void=yes
./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueab i /libpcap-0.7.1/ --without-nmapfe
--with-libpcap=/home/operat0r
--with-pcap=linux