GithubHelp home page GithubHelp logo

linushenze / fugu Goto Github PK

View Code? Open in Web Editor NEW
667.0 667.0 134.0 212 KB

Fugu is the first open source jailbreak based on the checkm8 exploit

License: GNU General Public License v3.0

Swift 19.71% Objective-C 5.39% C 68.70% Makefile 0.81% Assembly 4.12% Python 1.05% C++ 0.21%

fugu's People

Contributors

linushenze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fugu's Issues

iDevice doesn't load iStrap

Hello, I'm working on fugu to support my devices iPhone 7+ whose the versions are iOS 11.1.1 and 11.4.1.
When I executed 'Fugu iStrap', as I intended, it stop at white screen (iStrap) and was hanging there because it cannot find some of kernel strings. But after several times, now, it doesn't load iStrap anymore, and just boot.

./Fugu iStrap
...
Connecting to iDevice: Done!
Patching SecureROM: Done!
Resetting USB connection: Done!
-> iDevice should load iStrap now

Nothing happened. And just booted.

exploit fails

exploit fails on my ipad 6, ipad 7, iphone 7

macOS Mojave

t8015 support

try to create t8015 loader

return [
// Patch to boot iBoot
0x1000079DC: [ 0x68, 0x00, 0x80, 0x52 ], // movz w8, #0x3

               // Patch for the boot trampoline
               0x180018000: [
                   0xE2, 0x07, 0x61, 0xB2, // mov x2, #0x180000000
                   0x40, 0x00, 0x3F, 0xD6, // blr x2
               ],
               
               // Our loader goes here
               0x180000000: Array<UInt8>(loader),
               
               // Our shellcode goes here
               // Note: This must be 4kB aligned
               0x180001000: Array<UInt8>(iStrap_4x),
           ]

Apple logo

Hi, i would like to chenge the boot logo with a png or gif or others.It's possible?

Can i superimpose an image file on the apple logo instead of stripped line color?

Thanks very much.

Remove bingers repo

Remove his repo as this causes issue with the jailbreak, and will detect it as checkra1n

also. instead of adding the chimera source to the sileo.list

/etc/apt/sources.list.d/chimera.sources is the file

you'll want to add this as the contents:

Types: deb
URIs: https://repo.chimera.sh
Suites: ./
Components:

this causes the Sileo post install script to detect it as a chimera jailbreak, thus causing no issues.

not working - Exploit failed! Did not enter pwned DFU!

When running fugu it gives me this output:
Connecting to iDevice: Done!
Device is not in pwned DFU. Exploiting now.
Exploiting iDevice: FAILED!
Exploit failed! Did not enter pwned DFU!

-device to jailbreak:
software version: 13.4.1
model name: iPhone 7 Plus
model number: MN522LL/A

-mac version
device type: Macbook Pro (15-inch, 2017)
processor: 2.9 ghz quad-core intel i7
macOS: Catalina
version: 10.15.4
WhatsApp Image 2020-04-17 at 1 33 05 PM
WhatsApp Image 2020-04-17 at 1 33 50 PM

Exploit fails

Exploit just fails with iPhone7 GSM (9,3). I tried to use v0.3 but exploit just fails so I couldn't install it.

LZSS doesn't work !

so I patched kernel and wanted to compress it using Fugu (lzss). I extracted KPP from original kernel and my command was : Fugu -lzss patched_kernel patched_kernel_compressed --kpp kpp_file.
If you see this thanks as I really need it to work.

Errors while building

Trying to build Fugu on macos catalina, xcode 10.2, but encountering 13 errors like these :

/Users/csg3206/Documents/Pk/myTools/Fugu-master/checkm8/PwnUSB.swift:30:52: error: expression resolves to an unused property
var device: SimpleUSB! { get { _device } }
^~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:45:34: error: expression resolves to an unused property
var deviceOpen: Bool { get { _deviceOpen } }
^~~~~~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:56:19: error: value of type 'IOUSBDeviceInterface' (aka 'IOUSBDeviceStruct') has no member 'USBGetSerialNumberStringIndex'
guard deviceInterface.USBGetSerialNumberStringIndex(deviceInterfacePtrPtr, &serialNumberIndex) == KERN_SUCCESS else {
^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:82:18: error: value of type 'IOUSBDeviceInterface' (aka 'IOUSBDeviceStruct') has no member 'USBDeviceOpenSeize'; did you mean 'USBDeviceOpen'?
let kr = deviceInterface.USBDeviceOpenSeize(deviceInterfacePtrPtr)
^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~

On using xcodebuild command to build, got the following additional error message:

** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

How can i get past these errors to successfully build Fugu?

resolveSymbol function not found the symbols

I use the RESOLVE_TEXT_SYMBOL,resolveSymbol, to parse kernel. but not found the symbols like _vnode_open.

here is short log:

linkeditLoadCmd found!
symtab found!
symTable->nsyms : 0

Here symTable->nsyms is 0, but I do not know why is that. I also not found the _vnode_open symbol in ida of loaded kernelcache.
So this mean if the kernel_start not right ?

KERNEL_FULL_BASE is 0x820000000ULL on iPhone8?

env: iPhone8/iOS13.3.1

Uninstall?

I'm wondering if there's any way to remove all trace of this jailbreak. I expect had I used it before the last release which added persistence I'd be ok but I'm having issues with an online-banking app which I suspect may be related to this jailbreak (even when not booted into it).

Thanks!

Edit: Is this what --restore-fs does?

Edit2: Doesn't appear to. It showed up "Disabling jailbreak" with [!] next to it but Sileo is still present.

Command ExternalBuildToolExecution failed with a nonzero exit code

ExternalBuildToolExecution Shellcode (in target 'Shellcode' from project 'Fugu')
cd /Users/lhaasper/Desktop/Fugu-master/Shellcode
/usr/bin/make

xcrun -sdk iphoneos clang -c -o checkm8_arm64.o checkm8_arm64.S -target arm64-apple-darwin -Wall
/usr/local/opt/binutils/bin/gobjcopy -Obinary checkm8_arm64.o checkm8_arm64.bin
make: /usr/local/opt/binutils/bin/gobjcopy: No such file or directory
make: *** [checkm8_arm64.bin] Error 1
rm checkm8_arm64.o
Command ExternalBuildToolExecution failed with a nonzero exit code

Please help.

ios

this jailbreak is becoming obsolete can you update it to support ios 14 and up?

iPhone reboots at the slightest load

iphone reboots when trying to record the screen, without a jailbreak this does not happen.

as soon as I turn on/off recording while playing the game, the iphone immediately reboots.

struggle with this disease for the third day.

I tried reinstalling jailbreak (ReStore RootFS)

most likely, it's not the record, but the load from it. (reloads during screen recording)

iPhone XR

Error compiling

CF_EXPORT
const CFStringRef kCFUserNotificationIconURLKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationSoundURLKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationLocalizationURLKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationAlertHeaderKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationAlertMessageKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationDefaultButtonTitleKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationAlternateButtonTitleKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationOtherButtonTitleKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationProgressIndicatorValueKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationPopUpTitlesKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationTextFieldTitlesKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationCheckBoxTitlesKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationTextFieldValuesKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationPopUpSelectionKey API_AVAILABLE(macos(10.3)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationAlertTopMostKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

CF_EXPORT
const CFStringRef kCFUserNotificationKeyboardTypesKey API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, watchos, tvos);

Those are only for macos. It says that its not available on ios

Not working

When running fugu it gives me this error
“Device has no nonce descriptor“

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.