Jump to content

2 posts in this topic

Recommended Posts

Posted

/* Welcome freedom fighter. The liberation front has gained access to the

* source code for a wire transfer program used by FIRST NATIONAL CYBER, a

* bank used by the alliance for oppression and we need you to find a

* vulnerability in this program and stea... er liberate the funds from an

* operative named prince_john.

*

* The bank programmers have attempted to put in a number of defense checks

* to prevent abuse of the bank wire network, but we suspect that deadlines

* and corporate training programs have left them without the motivation

* required to think of every possibility.

*

* It is imperative that you find a way to drain the account completely

* otherwise they may be able to withdraw the remaining funds and go

* underground before we can finish tracking them in the physical world.

*

* Good luck and as always, should you be detected your actions will be

* blamed on the Chinese Government.

*

* ~~~0xDEADFEED~~~

*

* To build and run the wire transfer program:

*

* $ cc -o wire_transfer wire_transfer.c

* $ ./wire_transfer

*

*/

 

#include <stdbool.h>

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

 

#define MAXLEN 255

 

typedef struct Account {

int balance;

char owner[MAXLEN];

} Account;

 

Account *init_account(const char *name, int balance);

bool wiretransfer(Account *source, Account *dest, int amount);

void display_balance(Account *account);

void exit_if(bool condition, const char *message);

void validate_heist(Account *target);

 

int main(int argc, const char *argv[])

{

unsigned int transfer_amount;

char input[MAXLEN];

 

printf("----- WELCOME TO FIRST CYBER BANK -----\n");

printf("username: robin_hood\n");

printf("password: *****************\n");

printf("Logged In Successfully!\n");

printf("account> wiretransfer prince_john\n");

printf("----- BEGIN WIRE TRANSFER SETUP -----\n");

 

Account *yours = init_account("robin_hood", 10000);

Account *theirs = init_account("prince_john", 500000);

 

display_balance(yours);

display_balance(theirs);

 

while (true) {

printf("Amount to transfer from your account to theirs: ");

fgets(input, sizeof(input), stdin);

transfer_amount = strtoul(input, NULL, 10);

 

if ((long)transfer_amount > 0) {

break;

}

 

printf("Invalid transfer amount!\n");

}

 

printf("----- ATTEMPTING WIRE TRANSFER -----\n");

printf("Wire transfer status: ");

printf("%s\n", wiretransfer(yours, theirs, transfer_amount) ? "SUCCESS" : "FAILURE");

 

display_balance(yours);

display_balance(theirs);

validate_heist(theirs);

 

free(yours);

free(theirs);

 

return 0;

}

 

Account *init_account(const char *name, int balance)

{

Account *account = malloc(sizeof(Account));

exit_if(account == NULL, "Problem allocating memory");

 

if (account != NULL) {

strncpy(account->owner, name, sizeof(account->owner) - 1);

account->balance = balance;

}

 

return account;

}

 

bool wiretransfer(Account *source, Account *dest, int amount)

{

if (source == NULL || dest == NULL) return false;

if (source->balance - amount < 0) return false;

if (dest->balance + amount < 0) return false;

 

source->balance -= amount;

dest->balance += amount;

return true;

}

 

void display_balance(Account *account)

{

if (account == NULL) return;

printf("%s has $%d in their account.\n", account->owner, account->balance);

}

 

void exit_if(bool condition, const char *message)

{

if (condition) {

perror(message);

exit(EXIT_FAILURE);

}

}

 

void validate_heist(Account *target)

{

if (target->balance == 0) {

printf("Target funds liberated: You win ;)\n");

} else {

printf("Target still has operating funds, try again.\n");

}

}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Crown Raiders: Hero RPG v1.0.25 [ +2 Cheats ] Never Die
      Modded/Hacked App: Crown Raiders: Hero RPG By DFW Games GmbH
      Bundle ID: com.DFWGames.CrownRaiders
      App Store Link: https://apps.apple.com/us/app/crown-raiders-hero-rpg/id6814522939?uo=4

      🤩 Hack Features

      - Never Die
      - Max Damage
      • 0 replies
    • Crown Raiders: Hero RPG v1.0.25 [ +2 jailed ] Never Die
      Modded/Hacked App: Crown Raiders: Hero RPG By DFW Games GmbH
      Bundle ID: com.DFWGames.CrownRaiders
      App Store Link: https://apps.apple.com/us/app/crown-raiders-hero-rpg/id6814522939?uo=4

      🤩 Hack Features

      - Never Die
      - Max Damage
      • 0 replies
    • Tribe Rush: Offline War Games v1.0.1 [ +3 Cheats ] Max Amber
      Modded/Hacked App: Tribe Rush: Offline War Games By TAIGA TEKNOLOJI ANONIM SIRKETI
      Bundle ID: com.grouptaiga.triberush
      App Store Link: https://apps.apple.com/us/app/tribe-rush-offline-war-games/id6827934325?uo=4

      🤩 Hack Features

      - Max Amber
      - Never Die
      - Max Damage
      • 0 replies
    • Tribe Rush: Offline War Games v1.0.1 [ +3 jailed ] Max Amber
      Modded/Hacked App: Tribe Rush: Offline War Games By TAIGA TEKNOLOJI ANONIM SIRKETI
      Bundle ID: com.grouptaiga.triberush
      App Store Link: https://apps.apple.com/us/app/tribe-rush-offline-war-games/id6827934325?uo=4

      🤩 Hack Features

      - Max Amber
      - Never Die
      - Max Damage
      • 0 replies
    • Idle Truck Tycoon: Pixel City v0.1.4 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Idle Truck Tycoon: Pixel City By Makani Studio
      Bundle ID: truck.tycoon.pixelcity
      App Store Link: https://apps.apple.com/us/app/idle-truck-tycoon-pixel-city/id6825004652?uo=4

      🤩 Hack Features

      - Add All Currency
      • 0 replies
    • Idle Truck Tycoon: Pixel City v0.1.4 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Idle Truck Tycoon: Pixel City By Makani Studio
      Bundle ID: truck.tycoon.pixelcity
      App Store Link: https://apps.apple.com/us/app/idle-truck-tycoon-pixel-city/id6825004652?uo=4

      🤩 Hack Features

      - Add All Currency
      • 0 replies
    • Rewild: Ecosystems Tycoon v1.0.5 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Rewild: Ecosystems Tycoon By HOT SIBERIANS LTD
      Bundle ID: com.hotsiberians.rewild.tycoon.restore.ecosystems
      App Store Link: https://apps.apple.com/us/app/rewild-ecosystems-tycoon/id6760185835?uo=4

      🤩 Hack Features

      - Add All Currency
      • 0 replies
    • Rewild: Ecosystems Tycoon v1.0.5 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Rewild: Ecosystems Tycoon By HOT SIBERIANS LTD
      Bundle ID: com.hotsiberians.rewild.tycoon.restore.ecosystems
      App Store Link: https://apps.apple.com/us/app/rewild-ecosystems-tycoon/id6760185835?uo=4

      🤩 Hack Features

      - Add All Currency
      • 0 replies
    • Bunsik Guardians +6 Jailed Cheats
      Modded/Hacked App: Bunsik Guardians By Leon Corp.
      Bundle ID: com.leoncorpcore.bunsik
      App Store Link: https://apps.apple.com/us/app/bunsik-guardians/id6826720018?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Freeze Enemies
      - Unlock All Heroes
      - All Stages Open
      - No ADS

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 0 replies
    • TtukTtak Nyang: Idle Cat Forge +5 Jailed Cheats
      Modded/Hacked App: TtukTtak Nyang: Idle Cat Forge By Leon Corp.
      Bundle ID: com.leoncorpcore.purrsmith
      App Store Link: https://apps.apple.com/us/app/ttukttak-nyang-idle-cat-forge/id6829974345?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Currency Multiplier
      - Freeze Currencies
      - No ADS
       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 0 replies
    • Abyss Rush: Sub Survival RPG +7 Jailed Cheats
      Modded/Hacked App: Abyss Rush: Sub Survival RPG By Leon Corp.
      Bundle ID: com.leoncorpcore.deepsea
      App Store Link: https://apps.apple.com/us/app/abyss-rush-sub-survival-rpg/id6833725000?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - No Ability Coolodwn
      - Currency Multiplier 
      - XP Multiplier 
      - Free Chest & Loot
      - No ADS

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 0 replies
    • Power Rangers: Legacy Wars +2 Jailed Cheats
      Modded/Hacked App: Power Rangers: Legacy Wars By nWay Inc.
      Bundle ID: com.nway.powerrangerslegacywars
      App Store Link: https://apps.apple.com/us/app/power-rangers-legacy-wars/id1204075112?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 15 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines