Page 3 of 6 FirstFirst 123456 LastLast
Results 21 to 30 of 59
Discuss IPSF Server Source Released at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Using Visual Studio 2003 what type of project file would it be to compile? EDIT- ...
  1. #21
    Rookie Array

    Join Date
    Oct 2007
    Posts
    17
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Using Visual Studio 2003 what type of project file would it be to compile?

    EDIT- Tried to compile bunch of warnings/errors I have compiled before so I know I have all the necessary files... is this even for windows?
    Last edited by Diseal3; 10-23-2007 at 02:15 AM.


  2. #22
    peu
    peu is offline
    Respected Professional Array peu's Avatar

    Join Date
    Aug 2007
    Location
    Buenos Aires Argentina (I like ribs)
    Posts
    501
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by Magicpie2007 View Post
    are you building an app like process mate? If so you will be a god if you get it running
    Hi, as I posted previously, I have no experience in compiling C programs, thats why I asked for help.
    Im using a public shell (silenceisdefeat.org) to try to compile the app and leave it there for all to use.

    If you can give me some guidance thru the process I would really appreciate it. BTW, already added a line after the .h files that needed one.

    this is what Im getting now:
    PHP Code:
    process.cIn function `main':
    process.c:82: warning: passing arg 2 of 
    `dodecrypt' from incompatible pointer type
    process.c:82: warning: passing arg 3 of `dodecrypt' 
    from incompatible pointer type
    /tmp//ccVue931.o(.text+0x74f): In function `main':
    warningstrcpy() is almost always misusedplease use strlcpy()
    /
    tmp//ccVue931.o(.text+0x7ae): In function `main':
    warningsprintf() is often misusedplease use snprintf()
    /
    tmp//ccVue931.o(.text+0x767): In function `main':
    warningstrcat() is almost always misusedplease use strlcat() 
    Thanks

    5>evaders>JB 6.12
    4S>5.01>>5.11>redsnow>JB 5.1.1
    4>Limera1n B1>4.3.2>IOS5 GM>redsnow>JB 5.0
    3GS>blackra1n RC3>3.1.2>Spirit>Unlock 3.1.2>Jailbreakme.com>Ultrasn0w 2.0>JB 4.01
    3G>redsn0w 0.72>ultrasn0w>Unlock 3.0>pwnage 3.14>JB 3.1.2
    2G>hardware unlock>elite-team virginizer>upgrade to 1.1.1>toc2rta JB>anysim 1.1>unlock 1.1.1>Restored to 1.1.3>Ziphone 2.2>Unlock 1.1.3>Modified Ziphone>iClarified unlock patch>Unlocked 1.1.4>QuickPWN>2.0.2>2.1>2.2>2.2.1>redsn0w 0.71>JB 3.0

  3. #23
    Advanced Array

    Join Date
    Oct 2007
    Posts
    40
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Got the same reply from my gcc compiler at my linux server, Geohot please explain how should we compile this so we can put up more servers around the internet.

    Thanks in advanced.

    Topgunpilot
    1.1.1 downgraded to 1.0.2 and unlocked with iUnlock.pxl

  4. #24
    Professional Array

    Join Date
    Sep 2007
    Posts
    73
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    if these are just warning then prolly the program was compiled and you should have the executable a.out...

  5. #25
    Advanced Array

    Join Date
    Sep 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default can this be done? VMWare

    Guy's,

    can the server be built on a VMware build and released fully working then people can just use on vmware?

    just a thought?


  6. #26
    Administrator Array

    Join Date
    Oct 2007
    Posts
    4,145
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Just found some reading here
    http://code.google.com/p/iphone-elite/wiki/TEASecZone

    Hopefully a replacement server can be put up soon.

  7. #27
    Advanced Array

    Join Date
    Sep 2007
    Posts
    38
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    what can i do when compiled a.out?

  8. #28
    Newbie Array

    Join Date
    Oct 2007
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Well, here's what I think should be done (PLEASE NOTE THAT THIS IS JUST AN EDUCATED GUESS and I haven't really started to mess with my iPhone using this method):

    1. create a project from template "Command Line Utility -> Standard Tool"
    2. add all three .c into Source Group
    3. modify #include <malloc.h> -> #include <malloc/malloc.h> in process.c so it compiles
    4. if you run it then you'll get a segfault which is fine because the app expects some data from stdin and has virtually no checks if there is no data
    5. ok, this is CGI application so it needs to be put as http://backoffice.iphonesimfree.com:49973/precheck (not quite sure about /precheck part though, but it could be verified when sniffin' traffic exchange) so
    6. modify /etc/httpd.conf (resident apache server) to:
    6.1. uncomment Listen 3000 and change it to Listen 49973
    6.2. make sure LoadModule cgi_module is not commented
    6.3. add to the very bottom of httpd.conf (after Include /private/etc/httpd/users/*.conf) the following (this is an example path):
    6.3.1. ScriptAlias / "/Users/your_name_here/Projects/ipsf-server/cgi/"
    6.3.2 Alias /data/ "/Users/your_name_here/Projects/ipsf-server/cgi/seczones/"
    6.4. put your compiled ipsf-server into /Users/your_name_here/Projects/ipsf-server/cgi/ and rename it as precheck
    6.5. Start your webserver (or restart it) via SysPrefs->sharing->Personal Web Sharing
    6.6. check /var/logs/httpd/error_log that configs have no misspellings and server started
    7. open browser and run http://localhost:49973/precheck
    8. you'd get error 500 (due to the same segfault)
    9. check that /var/logs/httpd/error_log has something like:
    Running process
    Writing: ltoken- -1193107959
    and then "Premature end of script headers"
    10. Create directory /Users/your_name_here/Projects/ipsf-server/cgi/seczones/
    11. now here's a tricky part - you need to trick iphone that backoffice.iphonesimfree.com resolves to the ip address of your mac (not 127.0.0.1!). I guess if you run a DNS server somewhere you can do it.

    I may give it a try and if so I'll report my results.
    Thx
    Last edited by natest; 10-23-2007 at 05:10 AM.

  9. #29
    Administrator Array

    Join Date
    Oct 2007
    Posts
    4,145
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    @natest,
    On #11 above - You can run a "local" private DNS server at home and "pretend" to be the authoritative zone for iphonesimfree.com with A record as backoffice and resolve to your localhost.
    http://www.simpledns.com/ (free 14 day eval) - Note: don't connect pc to internet OR put the IP address of DNS server you created as the resolver (local machine tcp/ip setting)

    You can also run your own http (IIS or Apache) server on your computer to test as well.

    This is for local testing if you going to do it (all on one machine)
    Last edited by dtube; 10-23-2007 at 05:22 AM.

  10. #30
    Newbie Array

    Join Date
    Oct 2007
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    More observations:

    1. if one manages to re-route backoffice... to local httpd then it's immediately obvious what name the app should have by looking at POST attempts from the iphone in /var/logs/httpd/access_log so when an attempt detected -> rename precheck to whatever name was requested and re-run the app on the iphone
    2. when configuring apache line with Alias /data/ should come before ScriptAlias / (I made a mistake and just double checked that)


 

 
Page 3 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Installer Source] How to create your own source server
    By masterp76 in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 03-26-2008, 05:08 PM
  2. How to create my own Source Server
    By masterp76 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 03-26-2008, 04:07 PM
  3. anyone uploaded IPSF Server Source ??
    By TatesMan in forum iPhone "2G" (Rev. 1)
    Replies: 8
    Last Post: 10-23-2007, 10:23 AM
  4. Replies: 0
    Last Post: 10-15-2007, 07:21 PM
  5. IPSF SW and IPSF Server talk like this
    By miso1391 in forum General
    Replies: 0
    Last Post: 09-12-2007, 03:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:24 PM.
twitter, follow us!