RoopUnleashedv8 / Fix.py
fnorby777's picture
Initial commit
ab0dd0b
def modify_settings_file():
# Read the file
with open('rop-unleash/settings.py', 'r', encoding='utf-8') as file:
content = file.read()
# Replace the line
modified_content = content.replace(
"self.server_share = self.default_get(data, 'server_share', False)",
"self.server_share = self.default_get(data, 'server_share', True)"
)
# Write back to file
with open('rop-unleash/settings.py', 'w', encoding='utf-8') as file:
file.write(modified_content)
if __name__ == "__main__":
modify_settings_file()