Author Topic: Hack Tools Packaging Standards  (Read 4635 times)

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Hack Tools Packaging Standards
« on: July 13, 2011, 11:24:01 pm »
Just to make hack tool development a little easier, here are the standards that the staff has agreed on for packaging up hacktools for iOS. 

-Hack tools should reside in /var/mobile/pentest, with start up scripts living in /usr/bin
-Metasploit and will live in /var/mobile/pentest/framwork
-Package id's
  -If you ported an app it should be just the common name of the app (i.e. xterm or libnet)
  -If you wrote a tool it should be in the form of com.<username>.<package> (i.e. com.trcx.iaht or com.boococky.ipwn)
-Section name is Hacktools (upper case 'h' and no space/punctuation of any kind)
-Control file for the debs should be in this format:
[Beginning control file]

Package: (com.yourname.yourpackage if you wrote it, or the name of the program if you ported it, but NO SPACES)
Name: (friendly name)
Version: (version)
Architecture: iphoneos-arm
Depends:  (package ids, separated by commas)
Conflicts: (package ids, separated by commas)
Replaces: (package ids, separated by commas)
Description: (really short description, this is what cydia shows under each package when you are just browsing)
 (Full-length description (new lines must begin with a space!)

Depiction: https://ininjas.com/forum/index.php?topic=###;theme=14
Maintainer: [username] <email>
Author: [username] <email>
Sponsor: iNinjas <repo@ininjas.com>
Section: Hacktools
Tag: role::[pick one: enduser OR hacker OR developer]
(optional, if not included it will use the section icon)
Icon:  file:///var/mobile/Documents/iNinjas/icons/<package id>

[end of control file]
Be sure to include a (yes, only one) new line (\n) charater at the  end of the control file!!!!
In the Tag: Role:: section pick one of the tags
The parts in red are what you should edit, just leave everything else the same. 
When there is an email anywhere in the control file, include the < and > around it. That enables a user to click it and make an email!

If anyone has any objections or question post about them.  Feel free to edit to add/update this as needed. 
« Last Edit: June 20, 2012, 11:05:09 pm by C0deH4cker »

PaulBird

  • Sr. Member
  • ****
  • Posts: 485
  • Reputation: 5
  • Every problem is an opportunity in disguise
    • Google
  • Badges:
Re: Hack Tools Packaging Standards
« Reply #1 on: July 16, 2011, 11:42:42 pm »
sweet, this site is getting so organized. love it.

btw, beta testing board is pretty sick ;) good addition.
People Never Get The Flowers While They Can Still Smell Them

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Hack Tools Packaging Standards
« Reply #2 on: July 16, 2011, 11:52:16 pm »
I know, we just need to optimize the flow of everything for learning new stuff.  They way I see it time we have to spend doing the repetitive well know task is time not spend learning and developing new tools. 

PaulBird

  • Sr. Member
  • ****
  • Posts: 485
  • Reputation: 5
  • Every problem is an opportunity in disguise
    • Google
  • Badges:
Re: Hack Tools Packaging Standards
« Reply #3 on: July 17, 2011, 12:11:42 am »
lol ur english really sucked in that post
took me 3 rereads xD lmao

but i see, and its great, this forum is heading in a perfect direction.

how could we get more ppl though?
we dont have a problem w/ the # of posts, but we do need a few more ppl (never hurts right?)

ill try telling every1 i can about this site
People Never Get The Flowers While They Can Still Smell Them

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5113
  • Reputation: 252
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Hack Tools Packaging Standards
« Reply #4 on: July 17, 2011, 12:16:50 am »
We figured you had already told everyone, PaulBird!!! What have you been waiting for?? Lol!!
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

Don't like seeing ads? Click here to register!

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Hack Tools Packaging Standards
« Reply #5 on: July 17, 2011, 12:20:58 am »
lol ur english really sucked in that post
took me 3 rereads xD lmao

Ya, it's late, and I am so over tired that I can't even make sense to myself lol

PaulBird

  • Sr. Member
  • ****
  • Posts: 485
  • Reputation: 5
  • Every problem is an opportunity in disguise
    • Google
  • Badges:
Re: Hack Tools Packaging Standards
« Reply #6 on: July 17, 2011, 08:48:18 am »
We figured you had already told everyone, PaulBird!!! What have you been waiting for?? Lol!!
hahah well, i mean, ive told like ppl on ihmi. but ive been on vacationfor the last 2 weeks and kinda isolated (the way i like it :) )
but ill do s'more recruiting!
People Never Get The Flowers While They Can Still Smell Them

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5113
  • Reputation: 252
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Hack Tools Packaging Standards
« Reply #7 on: July 17, 2011, 12:55:46 pm »
Well get to it then!! Lol!!
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Hack Tools Packaging Standards
« Reply #8 on: July 30, 2011, 09:56:04 am »
Message from codehacker:

Quote
I rewrote a lot my deb's control files but I have yet to package them. Heres new format for control files:
Package: com.blah.blah
Name: display name
Architecture: iphoneos-arm
Version: 1.0
Category: Development, Tweaks, etc. Depends: package names (com.blah.blah)
Replaces: com.blah.blah
Summary: short description that appears below package in table view
Description: full description
Homepage: url for the more info button to go to Tag: role::(developer, hacker, or user) (Also in Tag:, one thing (i think icon:: ) controls the little icon for what type of package it is.)


Notice that I removed the Depiction: field. That replaces the description, which we dont want. Use the same link for the Homepage: field that you used for the depection field
Also, note there has to be a space between the field name and content (Tag: blah)

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Hack Tools Packaging Standards
« Reply #9 on: August 06, 2011, 02:55:39 am »
If you follow above post but summary dio esnt show up as package cell detail text, remove Summary: tag, and put the summary text in the Description: tag as so:

...
Description: This is your summary text.
 This is your full-length description. Please note that each line below initial Description: line must start with a space.
 Still description...
Homepage: ...
...

Don't like seeing ads? Click here to register!

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Hack Tools Packaging Standards
« Reply #10 on: August 06, 2011, 07:52:56 am »
update op code

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Hack Tools Packaging Standards
« Reply #11 on: August 10, 2011, 01:53:00 am »
Is the cydia theme number 14 or 16?

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Hack Tools Packaging Standards
« Reply #12 on: August 10, 2011, 07:18:01 am »
14

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Hack Tools Packaging Standards
« Reply #13 on: August 10, 2011, 10:26:21 am »
Ok. That means i have to rebuild all of my debs again, which i did last night at 3 am for a whole hour. Fml.

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Hack Tools Packaging Standards
« Reply #14 on: August 10, 2011, 10:27:20 am »
Sorry. :( I could do it if you wanted.