Monday, January 14, 2008

iPhone Perl Framework

Hi Folks today I discovered Perl for iPhone. You know, Perl is one of my favorite scripting languages, it's easy, flexible, fast and it's extremely "network adapted". That means you can easily write some network based applications. So I wanted a portable attack framework , for my iPhone. I need some basic feature, like a sniffer a port scanner an UDP packet generator, an TCP packet forger and so on... Let's go I started writing a nice WebSniffing tool and an easy port scanner. But it's only the beginning of a bigger attack iPhone's attack framework.

Here 2 little example:

An easy MAC address change:



And easy port map scanner:



If some one is interested to help me building a biger Attack Framework please mail me: mramilli (acircle) gmail dot com .

14 comments:

quinquennia said...

I am hoping you can help me. I have a jailbroken iPod Touch. I need help installing Perl on my iPod Touch and will need detailed instructions. I have a small Perl program that I wrote which reads and writes to a large data file. It runs off my Mac's command line. It quizzes me on solving Scrabble words. I would like to bring this software with me wherever I go. I don't understand UNIX though.

Marco Ramilli said...

have you already tried with
http://mac.softpedia.com/get/iPhone-Applications/Books-Dictionaries/iPhone-Perl.shtml

??

Alien Spaces said...

Hi, how do I get a perl runtime env setup on my iPhone? Your link just goes to Google search results.

Richard D said...

I know this is kind of old but I also cannot find a perl runtime setup for use with the iphone. This would be nice if you had any info. thanks

Br4in said...

May I help you? :D

- install aptitude via Cydia
- copy this file to your Ipod/Iphone filesystem: http://coredev.nl/cydia/coredev.pub
- execute "apt-key add coredev.pub" at the same directory
- execute "echo 'deb http://coredev.nl/cydia iphone main' > /etc/apt/sources.list.d/coredev.nl.list" to add the new source
- do a "apt-get update" for getting the new filelist
- easily execute "apt-get install perl"

I did this a few minutes ago and it worked fine for me. Happy Scripting!

GreetZ from Germany ;)

Anonymous said...

Isn't there a perl env for iphone without Jailbreaking? I have a corporate iPhone and don't want to hose it, but would like to play with Perl on the iPhone.

Anonymous said...

Is this possible on the ipod touch?

Howard Owen said...

I just installed it on my jail-broken iPod 3G. It took a while since the package calls in lots and lots of (useful) libraries. But perl -v works,and perldoc is there.

One thing though. The package installs into the root file system, under /usr/local. Making a link from there to /private/var/local before installing the package would probably be a good idea. For myself, I had to copy /usr/local to /private/var/local with

(cd /usr/local; tar cf - .)|(cd /private/var/local; tar xf-)

Then I moved the original /usr/local aside with:

cd /
mv /usr/local /usr/oldlocal

Then I made the link with

ln -s /private/var/local /usr/local

Once you test everything, you can nuke the old local directory with:

rm -fr /usr/oldlocal

Be extremely careful with that last command. The options tell rm to forcibly remove the whole tree under the point you specify, so a typo in the directory name can do bad things. On the other hand, skipping this command will make all the other work meaningless. Just be careful. :)

It seems I had other things installed in /usr/local as well, including top, so the move freed more than I expected.

Anonymous said...

Can anyone recommend the best Patch Management software for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central script deployment
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

Good dispatch and this fill someone in on helped me alot in my college assignement. Thank you as your information.

Anonymous said...

Dude, so much AD here, why not clean them all?

Anonymous said...

You are so nice to share these with us.

Anonymous said...

In it something is. Clearly, I thank for the help in this question.

Anonymous said...

I consider, that you are not right. I suggest it to discuss. Write to me in PM, we will communicate.