Report post Posted June 18, 2017 Hey everyone, I frequently see people struggling with disableing the domain locking, logging services, and client checks embedded into Club Penguin client files to prevent the files being used outside the http://clubpenguin.com domain. I have written a tool in Python to help aid the process of disabling these functions, whilst maintaining the crossdomain policies within the files which actually act as a security feature. import zlib import logging import argparse from os.path import isfile, isdir, splitext, join, exists, dirname from os import walk, makedirs from glob import glob if __name__ == "__main__": logger = logging.getLogger(__name__) logging.basicConfig(level=logging.INFO) parser = argparse.ArgumentParser(description="Club Penguin client tool") parser.add_argument("path", type=str, nargs="*", help="Path(s) to files or directories") parser.add_argument("-d", "--domain", type=str, help="The domain to use (ex. clubpenguin.com)") parser.add_argument("-r", "--recursive", action='store_true', help="Enables recursive mode") parser.add_argument("-o", "--output", type=str, help="Output directory") parser.add_argument("-D", "--dump", action='store_true', help="Dump decompressed FWS data") arguments = parser.parse_args() logger.info("This program can overwrite files on the disk, make sure to make backups before" + " running this script or make sure the output flag is enabled!") for path in arguments.path: if isfile(path): logger.info("Found \"%s\"", path) paths = [path] elif isdir(path): if not arguments.recursive: logger.warning("\"%s\" is a directory but recursion is disabled! skipping...", path) continue else: paths = [y for x in walk(path) for y in glob(join(x[0], '*.swf'))] for file in paths: logger.info("Found \"%s\"", file) filename, file_extension = splitext(file) if file_extension != ".swf": logger.warning("\"%s\" is not an SWF file! skipping...", path) continue logger.info("Opening \"%s\"", file) raw = open(file, "rb") signature = raw.read(3) logger.info("Reading file signature for \"%s\"", file) if signature != b"CWS": logger.warning("File has invalid signature, file sig should be 0x43 0x57 0x43(\"CWS\")") continue header = raw.read(5) data = raw.read() logger.info("Read %d bytes from \"%s\"", data.__sizeof__(), file) logger.info("Decompressing") decompressed_data = zlib.decompress(data) original_data = decompressed_data if b'\x00clubpenguin\x00boot\x00BootLoader' in decompressed_data: logger.info("Found a BootLoader, cracking client checks...") s = b'\x00logEvents\x00boot\x00BootL0ader' decompressed_data = decompressed_data.replace(b'\x00logEvents\x00boot\x00BootLoader', s) s = b'clubpenguin.c0m' decompressed_data = decompressed_data.replace(b'clubpenguin.com', s) if b'clubpenguin.com' in decompressed_data: logger.info("Found clubpenguin.com") s = bytes(arguments.domain.encode()) decompressed_data = decompressed_data.replace(b'clubpenguin.com', s) if b'disney.com' in decompressed_data: logger.info("Found disney.com") s = bytes(arguments.domain.encode()) decompressed_data = decompressed_data.replace(b'disney.com', s) if decompressed_data == original_data: logger.warning("No changes were made to the data!") continue logger.info("Re-compressing data and appending file signature and header") compressed = signature + header + zlib.compress(decompressed_data) if arguments.output: file = join(arguments.output, file) if not exists(dirname(file)): makedirs(dirname(file), exist_ok=True) if arguments.dump: dump = open(file + ".fws", "w") dump.write(str(decompressed_data)) dump.close() logger.info("Copied dump to \"%s\"", file + ".fws") logger.info("Writing data to \"%s\"", file) output = open(file, "wb") output.write(compressed) output.close() raw.close() logger.info("Finished. Goodbye!") If you know Python a little then you will probably be able to understand how the script works rather quickly, as it is rather simple. It decompresses the SWF files to expose some of the actionscript constants within the file (no, this script does not make use of SWF disassemblers like RABCasm which makes my script very lightweight and very fast) The script has a few flags, some of which are just useful, and some of which you'll probably want to use every single time you run it. $ py iceburg.py -h usage: iceburg.py [-h] [-d DOMAIN] [-r] [-o OUTPUT] [-D] [path [path ...]] Club Penguin client tool positional arguments: path Path(s) to files or directories optional arguments: -h, --help show this help message and exit -d DOMAIN, --domain DOMAIN The domain to use (ex. clubpenguin.com) -r, --recursive Enables recursive mode -o OUTPUT, --output OUTPUT Output directory -D, --dump Dump decompressed FWS data Domain (required) tells the script which internet domain to replace security locks and logging services with. Recursive mode will make the script search through every directory below the path you specify for SWF files to check. Output changes the output directory, assuming the output directory is empty no files will be overwritten. Dump will make extra files containing the decompressed version of the data, useful for debugging purposes (for example if the script is making changes which break the SWF). Example usage on real Club Penguin media! /play/v2/client $ py iceburg.py -o newclient -r -d cpps.pw -D . INFO:__main__:This program can overwrite files on the disk, make sure to make backups before running this script or make sure the output flag is enabled! INFO:__main__:Found ".\AccountActivation.swf" INFO:__main__:Opening ".\AccountActivation.swf" INFO:__main__:Reading file signature for ".\AccountActivation.swf" INFO:__main__:Read 108383 bytes from ".\AccountActivation.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\AccountActivation.swf.fws" INFO:__main__:Writing data to "newclient\.\AccountActivation.swf" INFO:__main__:Found ".\airtower.swf" INFO:__main__:Opening ".\airtower.swf" INFO:__main__:Reading file signature for ".\airtower.swf" INFO:__main__:Read 18745 bytes from ".\airtower.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\backyard.swf" INFO:__main__:Opening ".\backyard.swf" INFO:__main__:Reading file signature for ".\backyard.swf" INFO:__main__:Read 19712 bytes from ".\backyard.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\banning.swf" INFO:__main__:Opening ".\banning.swf" INFO:__main__:Reading file signature for ".\banning.swf" INFO:__main__:Read 432856 bytes from ".\banning.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\banning.swf.fws" INFO:__main__:Writing data to "newclient\.\banning.swf" INFO:__main__:Found ".\book.swf" INFO:__main__:Opening ".\book.swf" INFO:__main__:Reading file signature for ".\book.swf" INFO:__main__:Read 133873 bytes from ".\book.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\catalog_viewer.swf" INFO:__main__:Opening ".\catalog_viewer.swf" INFO:__main__:Reading file signature for ".\catalog_viewer.swf" INFO:__main__:Read 193837 bytes from ".\catalog_viewer.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\catalog_viewer.swf.fws" INFO:__main__:Writing data to "newclient\.\catalog_viewer.swf" INFO:__main__:Found ".\club_penguin.swf" INFO:__main__:Opening ".\club_penguin.swf" INFO:__main__:Reading file signature for ".\club_penguin.swf" INFO:__main__:Read 993651 bytes from ".\club_penguin.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\club_penguin.swf.fws" INFO:__main__:Writing data to "newclient\.\club_penguin.swf" INFO:__main__:Found ".\courtyard_sensei.swf" INFO:__main__:Opening ".\courtyard_sensei.swf" INFO:__main__:Reading file signature for ".\courtyard_sensei.swf" INFO:__main__:Read 165502 bytes from ".\courtyard_sensei.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\courtyard_sensei.swf.fws" INFO:__main__:Writing data to "newclient\.\courtyard_sensei.swf" INFO:__main__:Found ".\create.swf" INFO:__main__:Opening ".\create.swf" INFO:__main__:Reading file signature for ".\create.swf" INFO:__main__:Read 126803 bytes from ".\create.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\create.swf.fws" INFO:__main__:Writing data to "newclient\.\create.swf" INFO:__main__:Found ".\dojo_sensei.swf" INFO:__main__:Opening ".\dojo_sensei.swf" INFO:__main__:Reading file signature for ".\dojo_sensei.swf" INFO:__main__:Read 460627 bytes from ".\dojo_sensei.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\dojo_sensei.swf.fws" INFO:__main__:Writing data to "newclient\.\dojo_sensei.swf" INFO:__main__:Found ".\engine.swf" INFO:__main__:Opening ".\engine.swf" INFO:__main__:Reading file signature for ".\engine.swf" INFO:__main__:Read 132752 bytes from ".\engine.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\epf_mission_hud.swf" INFO:__main__:Opening ".\epf_mission_hud.swf" INFO:__main__:Reading file signature for ".\epf_mission_hud.swf" INFO:__main__:Read 51538 bytes from ".\epf_mission_hud.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\game_launcher.swf" INFO:__main__:Opening ".\game_launcher.swf" INFO:__main__:Reading file signature for ".\game_launcher.swf" INFO:__main__:Read 100978 bytes from ".\game_launcher.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\game_launcher.swf.fws" INFO:__main__:Writing data to "newclient\.\game_launcher.swf" INFO:__main__:Found ".\gridview.swf" INFO:__main__:Opening ".\gridview.swf" INFO:__main__:Reading file signature for ".\gridview.swf" INFO:__main__:Read 38842 bytes from ".\gridview.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\igloo.swf" INFO:__main__:Opening ".\igloo.swf" INFO:__main__:Reading file signature for ".\igloo.swf" INFO:__main__:Read 271256 bytes from ".\igloo.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\igloo_map.swf" INFO:__main__:Opening ".\igloo_map.swf" INFO:__main__:Reading file signature for ".\igloo_map.swf" INFO:__main__:Read 174344 bytes from ".\igloo_map.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\interface.swf" INFO:__main__:Opening ".\interface.swf" INFO:__main__:Reading file signature for ".\interface.swf" INFO:__main__:Read 1589546 bytes from ".\interface.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\interface.swf.fws" INFO:__main__:Writing data to "newclient\.\interface.swf" INFO:__main__:Found ".\intro_to_cp.swf" INFO:__main__:Opening ".\intro_to_cp.swf" INFO:__main__:Reading file signature for ".\intro_to_cp.swf" INFO:__main__:Read 644934 bytes from ".\intro_to_cp.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\intro_to_cp.swf.fws" INFO:__main__:Writing data to "newclient\.\intro_to_cp.swf" INFO:__main__:Found ".\intro_to_cp_quest_map.swf" INFO:__main__:Opening ".\intro_to_cp_quest_map.swf" INFO:__main__:Reading file signature for ".\intro_to_cp_quest_map.swf" INFO:__main__:Read 138385 bytes from ".\intro_to_cp_quest_map.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\LikeWindow.swf" INFO:__main__:Opening ".\LikeWindow.swf" INFO:__main__:Reading file signature for ".\LikeWindow.swf" INFO:__main__:Read 623951 bytes from ".\LikeWindow.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\LikeWindow.swf.fws" INFO:__main__:Writing data to "newclient\.\LikeWindow.swf" INFO:__main__:Found ".\like_window_module.swf" INFO:__main__:Opening ".\like_window_module.swf" INFO:__main__:Reading file signature for ".\like_window_module.swf" INFO:__main__:Read 95363 bytes from ".\like_window_module.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\like_window_module.swf.fws" INFO:__main__:Writing data to "newclient\.\like_window_module.swf" INFO:__main__:Found ".\load.swf" INFO:__main__:Opening ".\load.swf" INFO:__main__:Reading file signature for ".\load.swf" INFO:__main__:Read 15819 bytes from ".\load.swf" INFO:__main__:Decompressing INFO:__main__:Found a BootLoader, cracking client checks... INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\load.swf.fws" INFO:__main__:Writing data to "newclient\.\load.swf" INFO:__main__:Found ".\login.swf" INFO:__main__:Opening ".\login.swf" INFO:__main__:Reading file signature for ".\login.swf" INFO:__main__:Read 465888 bytes from ".\login.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\mail.swf" INFO:__main__:Opening ".\mail.swf" INFO:__main__:Reading file signature for ".\mail.swf" INFO:__main__:Read 188900 bytes from ".\mail.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\map_triggers.swf" INFO:__main__:Opening ".\map_triggers.swf" INFO:__main__:Reading file signature for ".\map_triggers.swf" INFO:__main__:Read 41457 bytes from ".\map_triggers.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\membership_trial.swf" INFO:__main__:Opening ".\membership_trial.swf" INFO:__main__:Reading file signature for ".\membership_trial.swf" INFO:__main__:Read 401298 bytes from ".\membership_trial.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\membership_trial.swf.fws" INFO:__main__:Writing data to "newclient\.\membership_trial.swf" INFO:__main__:Found ".\minigame_end_screens.swf" INFO:__main__:Opening ".\minigame_end_screens.swf" INFO:__main__:Reading file signature for ".\minigame_end_screens.swf" INFO:__main__:Read 1470068 bytes from ".\minigame_end_screens.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\minigame_end_screens.swf.fws" INFO:__main__:Writing data to "newclient\.\minigame_end_screens.swf" INFO:__main__:Found ".\mobile_account_activation.swf" INFO:__main__:Opening ".\mobile_account_activation.swf" INFO:__main__:Reading file signature for ".\mobile_account_activation.swf" INFO:__main__:Read 423335 bytes from ".\mobile_account_activation.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\mobile_account_activation.swf.fws" INFO:__main__:Writing data to "newclient\.\mobile_account_activation.swf" INFO:__main__:Found ".\newplayerexperience.swf" INFO:__main__:Opening ".\newplayerexperience.swf" INFO:__main__:Reading file signature for ".\newplayerexperience.swf" INFO:__main__:Read 229574 bytes from ".\newplayerexperience.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\newplayerexperience.swf.fws" INFO:__main__:Writing data to "newclient\.\newplayerexperience.swf" INFO:__main__:Found ".\newspaper.swf" INFO:__main__:Opening ".\newspaper.swf" INFO:__main__:Reading file signature for ".\newspaper.swf" INFO:__main__:Read 268950 bytes from ".\newspaper.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\newspaper.swf.fws" INFO:__main__:Writing data to "newclient\.\newspaper.swf" INFO:__main__:Found ".\ninja_progress.swf" INFO:__main__:Opening ".\ninja_progress.swf" INFO:__main__:Reading file signature for ".\ninja_progress.swf" INFO:__main__:Read 893351 bytes from ".\ninja_progress.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\ninja_progress.swf.fws" INFO:__main__:Writing data to "newclient\.\ninja_progress.swf" INFO:__main__:Found ".\notifications.swf" INFO:__main__:Opening ".\notifications.swf" INFO:__main__:Reading file signature for ".\notifications.swf" INFO:__main__:Read 405880 bytes from ".\notifications.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\notifications.swf.fws" INFO:__main__:Writing data to "newclient\.\notifications.swf" INFO:__main__:Found ".\party.swf" INFO:__main__:Opening ".\party.swf" INFO:__main__:Reading file signature for ".\party.swf" INFO:__main__:Read 41162 bytes from ".\party.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\phone.swf" INFO:__main__:Opening ".\phone.swf" INFO:__main__:Reading file signature for ".\phone.swf" INFO:__main__:Read 453268 bytes from ".\phone.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\phrase_autocomplete.swf" INFO:__main__:Opening ".\phrase_autocomplete.swf" INFO:__main__:Reading file signature for ".\phrase_autocomplete.swf" INFO:__main__:Read 132396 bytes from ".\phrase_autocomplete.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\phrase_autocomplete.swf.fws" INFO:__main__:Writing data to "newclient\.\phrase_autocomplete.swf" INFO:__main__:Found ".\pigfarm_catalog.swf" INFO:__main__:Opening ".\pigfarm_catalog.swf" INFO:__main__:Reading file signature for ".\pigfarm_catalog.swf" INFO:__main__:Read 126563 bytes from ".\pigfarm_catalog.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\pigfarm_catalog.swf.fws" INFO:__main__:Writing data to "newclient\.\pigfarm_catalog.swf" INFO:__main__:Found ".\preactivation.swf" INFO:__main__:Opening ".\preactivation.swf" INFO:__main__:Reading file signature for ".\preactivation.swf" INFO:__main__:Read 501079 bytes from ".\preactivation.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\preactivation.swf.fws" INFO:__main__:Writing data to "newclient\.\preactivation.swf" INFO:__main__:Found ".\puffle_adoption.swf" INFO:__main__:Opening ".\puffle_adoption.swf" INFO:__main__:Reading file signature for ".\puffle_adoption.swf" INFO:__main__:Read 3890054 bytes from ".\puffle_adoption.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_adoption.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_adoption.swf" INFO:__main__:Found ".\puffle_care.swf" INFO:__main__:Opening ".\puffle_care.swf" INFO:__main__:Reading file signature for ".\puffle_care.swf" INFO:__main__:Read 1076512 bytes from ".\puffle_care.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_care.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_care.swf" INFO:__main__:Found ".\puffle_care_station_menu.swf" INFO:__main__:Opening ".\puffle_care_station_menu.swf" INFO:__main__:Reading file signature for ".\puffle_care_station_menu.swf" INFO:__main__:Read 637864 bytes from ".\puffle_care_station_menu.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_care_station_menu.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_care_station_menu.swf" INFO:__main__:Found ".\puffle_certificate.swf" INFO:__main__:Opening ".\puffle_certificate.swf" INFO:__main__:Reading file signature for ".\puffle_certificate.swf" INFO:__main__:Read 376831 bytes from ".\puffle_certificate.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_certificate.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_certificate.swf" INFO:__main__:Found ".\puffle_gold_berry_machine.swf" INFO:__main__:Opening ".\puffle_gold_berry_machine.swf" INFO:__main__:Reading file signature for ".\puffle_gold_berry_machine.swf" INFO:__main__:Read 600591 bytes from ".\puffle_gold_berry_machine.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_gold_berry_machine.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_gold_berry_machine.swf" INFO:__main__:Found ".\puffle_gold_jackhammer_prompt.swf" INFO:__main__:Opening ".\puffle_gold_jackhammer_prompt.swf" INFO:__main__:Reading file signature for ".\puffle_gold_jackhammer_prompt.swf" INFO:__main__:Read 673659 bytes from ".\puffle_gold_jackhammer_prompt.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_gold_jackhammer_prompt.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_gold_jackhammer_prompt.swf" INFO:__main__:Found ".\puffle_gold_quest_progress.swf" INFO:__main__:Opening ".\puffle_gold_quest_progress.swf" INFO:__main__:Reading file signature for ".\puffle_gold_quest_progress.swf" INFO:__main__:Read 396614 bytes from ".\puffle_gold_quest_progress.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_gold_quest_progress.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_gold_quest_progress.swf" INFO:__main__:Found ".\puffle_manual.swf" INFO:__main__:Opening ".\puffle_manual.swf" INFO:__main__:Reading file signature for ".\puffle_manual.swf" INFO:__main__:Read 3335829 bytes from ".\puffle_manual.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_manual.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_manual.swf" INFO:__main__:Found ".\puffle_treasure_infographic.swf" INFO:__main__:Opening ".\puffle_treasure_infographic.swf" INFO:__main__:Reading file signature for ".\puffle_treasure_infographic.swf" INFO:__main__:Read 229784 bytes from ".\puffle_treasure_infographic.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_treasure_infographic.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_treasure_infographic.swf" INFO:__main__:Found ".\QuestCommunicator.swf" INFO:__main__:Opening ".\QuestCommunicator.swf" INFO:__main__:Reading file signature for ".\QuestCommunicator.swf" INFO:__main__:Read 120647 bytes from ".\QuestCommunicator.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\QuestCommunicator.swf.fws" INFO:__main__:Writing data to "newclient\.\QuestCommunicator.swf" INFO:__main__:Found ".\rooms_common.swf" INFO:__main__:Opening ".\rooms_common.swf" INFO:__main__:Reading file signature for ".\rooms_common.swf" INFO:__main__:Read 137633 bytes from ".\rooms_common.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\sentry.swf" INFO:__main__:Opening ".\sentry.swf" INFO:__main__:Reading file signature for ".\sentry.swf" INFO:__main__:Read 5184 bytes from ".\sentry.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\sentry.swf.fws" INFO:__main__:Writing data to "newclient\.\sentry.swf" INFO:__main__:Found ".\shell.swf" INFO:__main__:Opening ".\shell.swf" INFO:__main__:Reading file signature for ".\shell.swf" INFO:__main__:Read 405316 bytes from ".\shell.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\shell.swf.fws" INFO:__main__:Writing data to "newclient\.\shell.swf" INFO:__main__:Found ".\snowball.swf" INFO:__main__:Opening ".\snowball.swf" INFO:__main__:Reading file signature for ".\snowball.swf" INFO:__main__:Read 588197 bytes from ".\snowball.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\snowball.swf.fws" INFO:__main__:Writing data to "newclient\.\snowball.swf" INFO:__main__:Found ".\stampbook.swf" INFO:__main__:Opening ".\stampbook.swf" INFO:__main__:Reading file signature for ".\stampbook.swf" INFO:__main__:Read 251698 bytes from ".\stampbook.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\stamps.swf" INFO:__main__:Opening ".\stamps.swf" INFO:__main__:Reading file signature for ".\stamps.swf" INFO:__main__:Read 176508 bytes from ".\stamps.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\startscreen.swf" INFO:__main__:Opening ".\startscreen.swf" INFO:__main__:Reading file signature for ".\startscreen.swf" INFO:__main__:Read 92967 bytes from ".\startscreen.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\ugc_wall.swf" INFO:__main__:Opening ".\ugc_wall.swf" INFO:__main__:Reading file signature for ".\ugc_wall.swf" INFO:__main__:Read 233894 bytes from ".\ugc_wall.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\ugc_wall.swf.fws" INFO:__main__:Writing data to "newclient\.\ugc_wall.swf" INFO:__main__:Found ".\world.swf" INFO:__main__:Opening ".\world.swf" INFO:__main__:Reading file signature for ".\world.swf" INFO:__main__:Read 188656 bytes from ".\world.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\world.swf.fws" INFO:__main__:Writing data to "newclient\.\world.swf" INFO:__main__:Found ".\create\create_module.swf" INFO:__main__:Opening ".\create\create_module.swf" INFO:__main__:Reading file signature for ".\create\create_module.swf" INFO:__main__:Read 26746 bytes from ".\create\create_module.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\de\FontLibrary.swf" INFO:__main__:Opening ".\fonts\de\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\de\FontLibrary.swf" INFO:__main__:Read 2402490 bytes from ".\fonts\de\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\en\FontLibrary.swf" INFO:__main__:Opening ".\fonts\en\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\en\FontLibrary.swf" INFO:__main__:Read 2448363 bytes from ".\fonts\en\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\es\FontLibrary.swf" INFO:__main__:Opening ".\fonts\es\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\es\FontLibrary.swf" INFO:__main__:Read 2403541 bytes from ".\fonts\es\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\fr\FontLibrary.swf" INFO:__main__:Opening ".\fonts\fr\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\fr\FontLibrary.swf" INFO:__main__:Read 2404233 bytes from ".\fonts\fr\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\pt\FontLibrary.swf" INFO:__main__:Opening ".\fonts\pt\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\pt\FontLibrary.swf" INFO:__main__:Read 2404468 bytes from ".\fonts\pt\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\fonts\ru\FontLibrary.swf" INFO:__main__:Opening ".\fonts\ru\FontLibrary.swf" INFO:__main__:Reading file signature for ".\fonts\ru\FontLibrary.swf" INFO:__main__:Read 2443996 bytes from ".\fonts\ru\FontLibrary.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\merch\20.swf" INFO:__main__:Opening ".\merch\20.swf" INFO:__main__:Reading file signature for ".\merch\20.swf" INFO:__main__:Read 1065613 bytes from ".\merch\20.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\merch\app.swf" INFO:__main__:Opening ".\merch\app.swf" INFO:__main__:Reading file signature for ".\merch\app.swf" INFO:__main__:Read 68307 bytes from ".\merch\app.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\merch\inGameTreasurebookViewer.swf" INFO:__main__:Opening ".\merch\inGameTreasurebookViewer.swf" INFO:__main__:Reading file signature for ".\merch\inGameTreasurebookViewer.swf" INFO:__main__:Read 99734 bytes from ".\merch\inGameTreasurebookViewer.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\merch\treasurebook.swf" INFO:__main__:Opening ".\merch\treasurebook.swf" INFO:__main__:Reading file signature for ".\merch\treasurebook.swf" INFO:__main__:Read 1065505 bytes from ".\merch\treasurebook.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\merch\views.swf" INFO:__main__:Opening ".\merch\views.swf" INFO:__main__:Reading file signature for ".\merch\views.swf" INFO:__main__:Read 1249634 bytes from ".\merch\views.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\music\Music.swf" INFO:__main__:Opening ".\music\Music.swf" INFO:__main__:Reading file signature for ".\music\Music.swf" INFO:__main__:Read 261479 bytes from ".\music\Music.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\music\Music.swf.fws" INFO:__main__:Writing data to "newclient\.\music\Music.swf" INFO:__main__:Found ".\puffle\care\assetLibraryBlack.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryBlack.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryBlack.swf" INFO:__main__:Read 66513 bytes from ".\puffle\care\assetLibraryBlack.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryBlue.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryBlue.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryBlue.swf" INFO:__main__:Read 83304 bytes from ".\puffle\care\assetLibraryBlue.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryBrown.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryBrown.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryBrown.swf" INFO:__main__:Read 56619 bytes from ".\puffle\care\assetLibraryBrown.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryGold.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryGold.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryGold.swf" INFO:__main__:Read 476240 bytes from ".\puffle\care\assetLibraryGold.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryGreen.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryGreen.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryGreen.swf" INFO:__main__:Read 86823 bytes from ".\puffle\care\assetLibraryGreen.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryOrange.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryOrange.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryOrange.swf" INFO:__main__:Read 93600 bytes from ".\puffle\care\assetLibraryOrange.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryPink.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryPink.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryPink.swf" INFO:__main__:Read 58245 bytes from ".\puffle\care\assetLibraryPink.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryPurple.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryPurple.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryPurple.swf" INFO:__main__:Read 74862 bytes from ".\puffle\care\assetLibraryPurple.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryRainbow.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryRainbow.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryRainbow.swf" INFO:__main__:Read 381488 bytes from ".\puffle\care\assetLibraryRainbow.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryRed.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryRed.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryRed.swf" INFO:__main__:Read 81886 bytes from ".\puffle\care\assetLibraryRed.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryWhite.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryWhite.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryWhite.swf" INFO:__main__:Read 102127 bytes from ".\puffle\care\assetLibraryWhite.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\care\assetLibraryYellow.swf" INFO:__main__:Opening ".\puffle\care\assetLibraryYellow.swf" INFO:__main__:Reading file signature for ".\puffle\care\assetLibraryYellow.swf" INFO:__main__:Read 66185 bytes from ".\puffle\care\assetLibraryYellow.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\handler\puffle_handler.swf" INFO:__main__:Opening ".\puffle\handler\puffle_handler.swf" INFO:__main__:Reading file signature for ".\puffle\handler\puffle_handler.swf" INFO:__main__:Read 579088 bytes from ".\puffle\handler\puffle_handler.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle\handler\puffle_handler.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle\handler\puffle_handler.swf" INFO:__main__:Found ".\puffle\handler\temp for handler\interface2.0-21.swf" INFO:__main__:Opening ".\puffle\handler\temp for handler\interface2.0-21.swf" INFO:__main__:Reading file signature for ".\puffle\handler\temp for handler\interface2.0-21.swf" INFO:__main__:Read 39864 bytes from ".\puffle\handler\temp for handler\interface2.0-21.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\handler\temp%20for%20handler\interface2.0-21.swf" INFO:__main__:Opening ".\puffle\handler\temp%20for%20handler\interface2.0-21.swf" INFO:__main__:Reading file signature for ".\puffle\handler\temp%20for%20handler\interface2.0-21.swf" INFO:__main__:Read 39864 bytes from ".\puffle\handler\temp%20for%20handler\interface2.0-21.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle\puppet\assetLibraryPufflePuppet.swf" INFO:__main__:Opening ".\puffle\puppet\assetLibraryPufflePuppet.swf" INFO:__main__:Reading file signature for ".\puffle\puppet\assetLibraryPufflePuppet.swf" INFO:__main__:Read 394069 bytes from ".\puffle\puppet\assetLibraryPufflePuppet.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle\puppet\assetLibraryPufflePuppet.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle\puppet\assetLibraryPufflePuppet.swf" INFO:__main__:Found ".\puffle_tricks_hud\puffle_tricks_hud.swf" INFO:__main__:Opening ".\puffle_tricks_hud\puffle_tricks_hud.swf" INFO:__main__:Reading file signature for ".\puffle_tricks_hud\puffle_tricks_hud.swf" INFO:__main__:Read 901226 bytes from ".\puffle_tricks_hud\puffle_tricks_hud.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_tricks_hud\puffle_tricks_hud.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_tricks_hud\puffle_tricks_hud.swf" INFO:__main__:Found ".\puffle_tricks_hud\assets\tricks_hud_assets.swf" INFO:__main__:Opening ".\puffle_tricks_hud\assets\tricks_hud_assets.swf" INFO:__main__:Reading file signature for ".\puffle_tricks_hud\assets\tricks_hud_assets.swf" INFO:__main__:Read 13373 bytes from ".\puffle_tricks_hud\assets\tricks_hud_assets.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle_ui_widget\puffle_ui_widget.swf" INFO:__main__:Opening ".\puffle_ui_widget\puffle_ui_widget.swf" INFO:__main__:Reading file signature for ".\puffle_ui_widget\puffle_ui_widget.swf" INFO:__main__:Read 811179 bytes from ".\puffle_ui_widget\puffle_ui_widget.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header INFO:__main__:Copied dump to "newclient\.\puffle_ui_widget\puffle_ui_widget.swf.fws" INFO:__main__:Writing data to "newclient\.\puffle_ui_widget\puffle_ui_widget.swf" INFO:__main__:Found ".\puffle_ui_widget\assets\radial_menu_assets.swf" INFO:__main__:Opening ".\puffle_ui_widget\assets\radial_menu_assets.swf" INFO:__main__:Reading file signature for ".\puffle_ui_widget\assets\radial_menu_assets.swf" INFO:__main__:Read 195820 bytes from ".\puffle_ui_widget\assets\radial_menu_assets.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found ".\puffle_ui_widget\assets\stats_bar_assets.swf" INFO:__main__:Opening ".\puffle_ui_widget\assets\stats_bar_assets.swf" INFO:__main__:Reading file signature for ".\puffle_ui_widget\assets\stats_bar_assets.swf" INFO:__main__:Read 11305 bytes from ".\puffle_ui_widget\assets\stats_bar_assets.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Finished. Goodbye! /play/v2/games/ $ py iceburg.py -d cpps.pw -r -D games INFO:__main__:Opening "games\cp_party_games\shuffle\lang\ru\sign.swf" INFO:__main__:Reading file signature for "games\cp_party_games\shuffle\lang\ru\sign.swf" INFO:__main__:Read 5711 bytes from "games\cp_party_games\shuffle\lang\ru\sign.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found "games\cp_party_games\shuffle\lang\ru\title.swf" INFO:__main__:Opening "games\cp_party_games\shuffle\lang\ru\title.swf" INFO:__main__:Reading file signature for "games\cp_party_games\shuffle\lang\ru\title.swf" INFO:__main__:Read 15794 bytes from "games\cp_party_games\shuffle\lang\ru\title.swf" INFO:__main__:Decompressing WARNING:__main__:No changes were made to the data! INFO:__main__:Found "games\cp_party_games\soaker\bootstrap.swf" INFO:__main__:Opening "games\cp_party_games\soaker\bootstrap.swf" INFO:__main__:Reading file signature for "games\cp_party_games\soaker\bootstrap.swf" INFO:__main__:Read 6300 bytes from "games\cp_party_games\soaker\bootstrap.swf" INFO:__main__:Decompressing INFO:__main__:Found clubpenguin.com INFO:__main__:Found disney.com INFO:__main__:Re-compressing data and appending file signature and header Script download attached :~) Prerequisites Python 3 :) client-tool.zip 5 Share this post Link to post Share on other sites
Report post Posted July 8, 2017 (edited) It works fine for /play/v2/client, but when I try it with /play/v2/games, I get the following result: INFO:__main__:This program can overwrite files on the disk, make sure to make backups before running this script or make sure the output flag is enabled! Traceback (most recent call last): File "iceburg.py", line 33, in <module> for file in paths: NameError: name 'paths' is not defined I used this command: python3 iceburg.py -d mydomain.tld -r -D games. Fixed. Edited July 9, 2017 by ReidTJ Share this post Link to post Share on other sites