Warning: UPDATE command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_cache' query: UPDATE drupal_cache SET data = 'a:448:{s:13:\"theme_default\";s:7:\"garland\";s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:17:\"menu_primary_menu\";i:2;s:19:\"menu_secondary_menu\";i:2;s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";s:1:\"0\";s:18:\"drupal_private_key\";s:64:\"b4e640288de05f522bbe6b032bdd5e965244625713cbf8cf2021d99f2fe3072a\";s:19:\"file_directory_temp\";s:9:\"files/tmp\";s:19:\"file_directory_path\";s:5:\"files\";s:14:\"file_downloads\";s:1:\"1\";s:21:\"date_default_timezone\";s:4:\"7200\";s:22:\"configurable_timezones\";s:1:\" in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174) in /home/michelon/www/olivier/blog/includes/bootstrap.inc on line 569

Warning: Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174) in /home/michelon/www/olivier/blog/includes/bootstrap.inc on line 570

Warning: Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174) in /home/michelon/www/olivier/blog/includes/bootstrap.inc on line 571

Warning: Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174) in /home/michelon/www/olivier/blog/includes/bootstrap.inc on line 572

Warning: INSERT command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_watchdog' query: INSERT INTO drupal_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174)</em> in <em>/home/michelon/www/olivier/blog/includes/common.inc</em> on line <em>141</em>.', 2, '', 'http://olivier.michelon.me/blog/?q=article/utiliser-iphonebrowser-avec-un-iphoneipod-touch-firmware-31x-jailbreake-avec-blackra1n', '', '54.211.41.181', 1484762899) in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174

Warning: INSERT command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_watchdog' query: INSERT INTO drupal_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>UPDATE command denied to user &amp;#039;michelon01&amp;#039;@&amp;#039;10.0.126.137&amp;#039; for table &amp;#039;drupal_cache_browscap&amp;#039;\nquery: UPDATE drupal_cache_browscap SET data = &amp;#039;O:8:\\&amp;quot;stdClass\\&amp;quot;:2:{s:9:\\&amp;quot;useragent\\&amp;quot;;s:1:\\&amp;quot;%\\&amp;quot;;s:4:\\&amp;quot;data\\&amp;quot;;s:609:\\&amp;quot;a:25:{s:7:\\&amp;quot;browser\\&amp;quot;;s:15:\\&amp;quot;Default Browser\\&amp;quot;;s:7:\\&amp;quot;version\\&amp;quot;;s:1:\\&amp;quot;0\\&amp;quot;;s:8:\\&amp;quot;majorver\\&amp;quot;;s:1:\\&amp;quot;0\\&amp;quot;;s:8:\\&amp;quot;minorver\\&amp;quot;;s:1:\\&a in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174
Utiliser iPhoneBrowser avec un iPhone/iPod Touch firmware 3.1.x jailbreaké avec blackra1n | MICHBlog

Utiliser iPhoneBrowser avec un iPhone/iPod Touch firmware 3.1.x jailbreaké avec blackra1n

  • warning: Cannot modify header information - headers already sent by (output started at /home/michelon/www/olivier/blog/includes/database.mysql.inc:174) in /home/michelon/www/olivier/blog/includes/common.inc on line 141.
  • user warning: UPDATE command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_cache_browscap' query: UPDATE drupal_cache_browscap SET data = 'O:8:\"stdClass\":2:{s:9:\"useragent\";s:1:\"%\";s:4:\"data\";s:609:\"a:25:{s:7:\"browser\";s:15:\"Default Browser\";s:7:\"version\";s:1:\"0\";s:8:\"majorver\";s:1:\"0\";s:8:\"minorver\";s:1:\"0\";s:8:\"platform\";s:7:\"unknown\";s:5:\"alpha\";s:0:\"\";s:4:\"beta\";s:0:\"\";s:5:\"win16\";s:0:\"\";s:5:\"win32\";s:0:\"\";s:5:\"win64\";s:0:\"\";s:6:\"frames\";s:0:\"\";s:7:\"iframes\";s:0:\"\";s:6:\"tables\";s:0:\"\";s:7:\"cookies\";s:0:\"\";s:16:\"backgroundsounds\";s:0:\"\";s:10:\"javascript\";s:0:\"\";s:8:\"vbscript\";s:0:\"\";s:11:\"javaapplets\";s:0:\"\";s:15:\"activexcontrols\";s:0:\"\";s:8:\"isbanned\";s:0:\"\";s:14:\"ismobiledevice\";s:0:\"\";s:19:\"issyndicationreader\";s:0:\"\";s:7:\"crawler\";s:0:\"\";s:10:\"cssversion\";s:1:\"0\";s:10:\"aolversion\";s:1:\"0\";}\";}', created = 1484762899, expire = 0, headers = '' WHERE cid = 'CCBot/2.0 (http://commoncrawl.org/faq/)' in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174.

iPhoneBrowser est un très bon freeware Open Source développé sur la plateforme Code de Google. Il permet d'explorer et de gérer le contenu de son iPhone jaibreaké.

Sans la manipulation suivante, iPhoneBrowser indiquera que l'iPhone connecté n'est pas jailbreaké.

Le problème vient du fait que, contrairement aux autres solutions de jailbreak (redsn0w, PwnageTool 3.1.4...), Blackra1n ne créé pas le service afc2 nécessaire par iPhoneBrowser. Je vous propose donc de le rajouter en utilisant OpenSSH!

Ce dont vous avez besoin:

  • iPhone / Ipod Touch 3.1.x jailbreaké avec Blackra1n possédant dépôt Cydia.
  • iPhoneBrowser (je vous recommande la bêta 1.9.3.0)
  • plist Editor for Windows
  • Un client SFTP (je recommande plus WinSCP que Putty : le premier dispose d'une interface graphique)

  1. Sur l'iPhone, dans Cydia, recherchez OpenSSH et installez-le.
  2. Redémarrez l'iPhone
  3. Connectez l'iPhone à un Wifi
  4. Récupérer l'adresse IP de l'iPhone (Réglages > Wi-Fi > La flèche bleu correspondant à "Votre réseaux Wifi" > Paramètre Adresse IP)
  5. Sur un PC connecté au routeur Wifi, lancé un client SFTP et se connectez à l'Iphone (Hostname: "Addresse IP", Username: root, Password: "votre mot de passe root", alpine par défaut)
  6. Une fois connecté, téléchargez le fichier "/System/Library/Lockdown/Services.plist"
  7. Ouvrez le fichier à l'aide de plist Editor for Windows et éditez-le comme suit:
        <key>com.apple.afc</key>
        <dict>
            <key>AllowUnactivatedService</key>
            <true/>
            <key>Label</key>
            <string>com.apple.afc</string>
            <key>ProgramArguments</key>
            <array>
                <string>/usr/libexec/afcd</string>
                <string>--lockdown</string>
                <string>-d</string>
                <string>/var/mobile/Media</string>
                <string>-u</string>
                <string>mobile</string>
            </array>
        </dict>
    <key>com.apple.afc2</key>
        <dict>
            <key>Label</key>
            <string>com.apple.afc2</string>
            <key>ProgramArguments</key>
            <array>
                <string>/usr/libexec/afcd</string>
                <string>--lockdown</string>
                <string>-d</string>
                <string>/</string>
            </array>
        </dict>

        <key>com.apple.crashreportcopy</key>
  8. Uploadez le fichier sur l'iPhone dans /System/Library/Lockdown/ et redémarrez-le
  9. Lancez iPhoneBrowser et Voilà!

EDIT : il existe une solution plus simple mais moins enrichissante.

  1. Sur l'iPhone, dans Cydia,  recherchez afc2add et installez-le.
  2. Lancez iPhoneBrowser et Voilà!

Fichier attachéTaille
plist Editor 1.0.14.29 Mo
iPhoneBrowser 1.93550.99 Ko

Commentaires

Poster un nouveau commentaire

Le contenu de ce champ ne sera pas montré publiquement.
Image CAPTCHA
Entrez les caractères affichés sur l'image sans espaces.
Syndiquer le contenu

Warning: INSERT command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_watchdog' query: INSERT INTO drupal_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>UPDATE command denied to user &amp;#039;michelon01&amp;#039;@&amp;#039;10.0.126.137&amp;#039; for table &amp;#039;drupal_node_counter&amp;#039;\nquery: UPDATE drupal_node_counter SET daycount = daycount + 1, totalcount = totalcount + 1, timestamp = 1484762899 WHERE nid = 100</em> dans <em>/home/michelon/www/olivier/blog/includes/database.mysql.inc</em> à la ligne <em>174</em>.', 2, '', 'http://olivier.michelon.me/blog/?q=article/utiliser-iphonebrowser-avec-un-iphoneipod-touch-firmware-31x-jailbreake-avec-blackra1n', '', '54.211.41.181', 1484762899) in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174

Warning: INSERT command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_watchdog' query: INSERT INTO drupal_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>INSERT command denied to user &amp;#039;michelon01&amp;#039;@&amp;#039;10.0.126.137&amp;#039; for table &amp;#039;drupal_accesslog&amp;#039;\nquery: INSERT INTO drupal_accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&amp;#039;Utiliser iPhoneBrowser avec un iPhone/iPod Touch firmware 3.1.x jailbreaké avec blackra1n&amp;#039;, &amp;#039;node/100&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;54.211.41.181&amp;#039;, 0, &amp;#039;ddc967a73fcde372da48753a3b1627e3&amp;#039;, 314, 1484762899)</em> dans <em>/home/michelon/www/olivier/blog/includes/database.mysql.inc</em> à la ligne <em>174</em>.', 2, '', 'http://o in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174

Warning: INSERT command denied to user 'michelon01'@'10.0.126.137' for table 'drupal_watchdog' query: INSERT INTO drupal_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>UPDATE command denied to user &amp;#039;michelon01&amp;#039;@&amp;#039;10.0.126.137&amp;#039; for table &amp;#039;drupal_sessions&amp;#039;\nquery: UPDATE drupal_sessions SET uid = 0, cache = 0, hostname = &amp;#039;54.211.41.181&amp;#039;, session = &amp;#039;image_captcha|a:1:{i:375748876;s:5:\\&amp;quot;2T6i5\\&amp;quot;;}captcha|a:1:{s:12:\\&amp;quot;comment_form\\&amp;quot;;a:2:{s:32:\\&amp;quot;d4be271334a92ccb6fea3b2d67f766dd\\&amp;quot;;s:5:\\&amp;quot;2t6i5\\&amp;quot;;s:7:\\&amp;quot;success\\&amp;quot;;b:0;}}messages|a:1:{s:5:\\&amp;quot;error\\&amp;quot;;a:2:{i:0;s:340:\\&amp;quot;user warning: UPDATE command denied to user &amp;amp;#039;mi in /home/michelon/www/olivier/blog/includes/database.mysql.inc on line 174