Jump to content

Privacy Protector


Recommended Posts

  • 4 weeks later...
Posted (edited)

There is maaybe an issue with message notification. For each warning, there's an exception :

 

2022-07-01T01:03:28	ERROR	Error in show_notification('NoneType' object has no attribute 'ui_dialog_service')
2022-07-01T01:03:28	DEBUG	PrivacyProtector._cache: {"Privacy violated.\r\nSee 'The Sims 4/mod_logs/Privacy-Protector.txt' for more details.\nsubprocess.Popen(...)": <UiDialogNotificationUrgency.URGENT = 1>}
2022-07-01T01:03:28	WARN	'subprocess.Popen(('ver',); {'shell': True, 'stdout': -1, 'bufsize': -1})' called from:
    T:\InGame\Gameplay\Scripts\Core\sims4\utils.py#179 '' in 'wrapper()'
    T:\InGame\Gameplay\Scripts\Server\areaserver.py#154 '' in 'c_api_server_init_tick()'
    T:\InGame\Gameplay\Scripts\Core\sims4\core_services.py#164 '' in 'start_service_tick()'
    T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py#331 '' in 'start_single_service()'
    ...
    
    

2022-07-01T01:03:28	ERROR	Error in show_notification('NoneType' object has no attribute 'ui_dialog_service')
2022-07-01T01:03:29	WARN	'subprocess.Popen(('ver',); {'shell': True, 'stdout': -1, 'bufsize': -1})' called from:
    T:\InGame\Gameplay\Scripts\Core\sims4\utils.py#179 '' in 'wrapper()'
    T:\InGame\Gameplay\Scripts\Server\areaserver.py#154 '' in 'c_api_server_init_tick()'
    T:\InGame\Gameplay\Scripts\Core\sims4\core_services.py#164 '' in 'start_service_tick()'
    T:\InGame\Gameplay\Scripts\Core\sims4\service_manager.py#331 '' in 'start_single_service()'
    T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py#157 '' in 'update_incremental_start()'
    T:\InGame\Gameplay\Scripts\Core\sims4\tuning\instance_manager.py#216 '' in '_execute_gen()'
    ...
    
    
 2022-07-01T01:03:30	ERROR	Error in show_notification('NoneType' object has no attribute 'ui_dialog_service')
2022-07-01T01:03:43	DEBUG	PrivacyProtector._cache: {"Privacy violated.\r\nSee 'The Sims 4/mod_logs/Privacy-Protector.txt' for more details.\nsubprocess.Popen(...)": <UiDialogNotificationUrgency.URGENT = 1>}
2022-07-01T01:03:58	DEBUG	PrivacyProtector._cache: {"Privacy violated.\r\nSee 'The Sims 4/mod_logs/Privacy-Protector.txt' for more details.\nsubprocess.Popen(...)": <UiDialogNotificationUrgency.URGENT = 1>}
2022-07-01T01:04:13	DEBUG	PrivacyProtector._cache: {"Privacy violated.\r\nSee 'The Sims 4/mod_logs/Privacy-Protector.txt' for more details.\nsubprocess.Popen(...)": <UiDialogNotificationUrgency.URGENT = 1>}
2022-07-01T01:04:28	DEBUG	PrivacyProtector._cache: {"Privacy violated.\r\nSee 'The Sims 4/mod_logs/Privacy-Protector.txt' for more details.\nsubprocess.Popen(...)": <UiDialogNotificationUrgency.URGENT = 1>}

...
 

 

Edited by Gambit
  • 1 month later...
Posted

I'm not super knowledgeable about this but couldn't we just firewall block the sims 4 to prevent it from having access to the internet and subsequently blocking internet access to these scripts?

  • 5 months later...
Posted

Hi! I just used it but I'm not sure what this results means. I would guess it's just for that welcome message that appears when we open the game or something like this, so it isn't that bad?

WARN	!! Found 'open' in '\basementaldrugs.ts4script(Basemental/dialog/welcome.pyc)': ['\\nwebbrowser\\xda\\x04open\\xda\\x03sys\\xda\\x04e']
WARN	!! Found 'urlopen' in '\basementaldrugs.ts4script(Basemental/utilities/logging/version_control.pyc)': ['QUEST_HEADER\\xda\\x07urlopen\\xda\\x16_parse_versi']
WARN	!! Found 'Request' in '\basementaldrugs.ts4script(Basemental/utilities/logging/version_control.pyc)': ['\\xda\\x07requestZ\\x07Request\\xda\\x0eREQUEST_HEAD']
WARN	!! Found 'open' in '\Carl_Gameplay_Overhaul.ts4script(GameplayOverhaul.pyc)': ['\\nwebbrowser\\xda\\x04open)\\x01\\xda\\x0b_connec', '2situations.ambient.open_streets_autonomy_si']
WARN	!! Found 'system' in '\Carl_Gameplay_Overhaul.ts4script(GameplayOverhaul.pyc)': ['a\\x07objects\\xda\\x06system\\xda\\rcreate_objectr', 'x00\\x00Z\\x0eobjects.systemZ\\x1aholidays.holida']
WARN	!! Found 'open' in '\PECO_MOD_Sensual_Studio.ts4script(ss_tuning_injections/display_mod_version.pyc)': ['\\nwebbrowser\\xda\\x04open)\\x01\\xda\\x0b_connec']

 

Posted

@easysudoku Probably most of these are false positives, but I can only answer about the one that came from my mod:

WARN	!! Found 'open' in '\PECO_MOD_Sensual_Studio.ts4script(ss_tuning_injections/display_mod_version.pyc)': ['\\nwebbrowser\\xda\\x04open)\\x01\\xda\\x0b_connec']

 

The display_mod_version.pyc listed above adds commands to the game that you can enter in the console (CTRL+SHIFT+C), like you do with cheats.


These commands are:

  • ss.info - Displays Sensual Studio Mod info. (displays the mod's version number and its path within the Mods folder)
  • ss.web - Visit the Sensual Studio mod page on LoversLab. (it opens a web browser and takes you to the mod's page on LoversLab)
  • ss.patreon - Visit the Sensual Studio mod page on Patreon. (it opens a web browser and takes you to the mod's page on Patreon)
  • ss.commands - Lists all Sensual Studio user commands. (just shows a list of the available commands above)

None of these commands do anything harmful and/or sends any sort of information from your PC.

 

Here's the full .py for reference, it's a very simple script:

Spoiler
import webbrowser
import sims4.commands
from pathlib import Path
from ss_tuning_injections.VERSION_INFO_EDIT import SS_VERSION_VALUE, SS_BUILDDATE_VALUE

ss_path_full        = str(Path(__file__).parent.parent.parent)
ss_path_remove      = str(Path(__file__).parent.parent.parent.parent.parent.parent.parent.parent)
ss_path_cleaned     = (ss_path_full.replace(ss_path_remove, '')[1:])

ss_version_str      = 'Mod version: ' + SS_VERSION_VALUE + ' (Last build date: ' + SS_BUILDDATE_VALUE + ')'
ss_path_srt         = 'Script path: ' + ss_path_cleaned

@sims4.commands.Command('ss.web', command_type=sims4.commands.CommandType.Live)
def visitssweb(_connection=None):
    webbrowser.open('https://www.loverslab.com/files/file/24649-cinerotiques-sensual-studio-lore-friendly-erotic-painting-mod/')  # Go to LoversLab

@sims4.commands.Command('ss.patreon', command_type=sims4.commands.CommandType.Live)
def visitsspatreon(_connection=None):
    webbrowser.open('https://www.patreon.com/peco328?filters[tag]=sensual%20studio')  # Go to Patreon

@sims4.commands.Command('ss.help', command_type=sims4.commands.CommandType.Live)
def showsshelp(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO CONSOLE QUICKSTART HELP:')
    output('ss.info - Displays Sensual Studio Mod info')
    output('ss.commands - Lists all Sensual Studio user commands.')

@sims4.commands.Command('ss.commands', command_type=sims4.commands.CommandType.Live)
def showsscommands(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO CONSOLE COMMANDS:')
    output('ss.info - Displays Sensual Studio Mod info.')
    output('ss.commands - Lists all Sensual Studio user commands.')
    output('ss.web - Visit the Sensual Studio mod page on LoversLab.')
    output('ss.patreon - Visit the Sensual Studio mod page on Patreon.')

@sims4.commands.Command('ss.info', command_type=sims4.commands.CommandType.Live)
def showssversion(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO MOD INFO:')
    output(ss_version_str)
    output(ss_path_srt)

 

(pls no bully if my code is ugly or not totally optimal, i'm a total n00b to python :sweat_smile:)

Posted
On 2/5/2023 at 12:37 PM, PECO. said:

@easysudoku Probably most of these are false positives, but I can only answer about the one that came from my mod:

WARN	!! Found 'open' in '\PECO_MOD_Sensual_Studio.ts4script(ss_tuning_injections/display_mod_version.pyc)': ['\\nwebbrowser\\xda\\x04open)\\x01\\xda\\x0b_connec']

 

The display_mod_version.pyc listed above adds commands to the game that you can enter in the console (CTRL+SHIFT+C), like you do with cheats.


These commands are:

  • ss.info - Displays Sensual Studio Mod info. (displays the mod's version number and its path within the Mods folder)
  • ss.web - Visit the Sensual Studio mod page on LoversLab. (it opens a web browser and takes you to the mod's page on LoversLab)
  • ss.patreon - Visit the Sensual Studio mod page on Patreon. (it opens a web browser and takes you to the mod's page on Patreon)
  • ss.commands - Lists all Sensual Studio user commands. (just shows a list of the available commands above)

None of these commands do anything harmful and/or sends any sort of information from your PC.

 

Here's the full .py for reference, it's a very simple script:

  Reveal hidden contents
import webbrowser
import sims4.commands
from pathlib import Path
from ss_tuning_injections.VERSION_INFO_EDIT import SS_VERSION_VALUE, SS_BUILDDATE_VALUE

ss_path_full        = str(Path(__file__).parent.parent.parent)
ss_path_remove      = str(Path(__file__).parent.parent.parent.parent.parent.parent.parent.parent)
ss_path_cleaned     = (ss_path_full.replace(ss_path_remove, '')[1:])

ss_version_str      = 'Mod version: ' + SS_VERSION_VALUE + ' (Last build date: ' + SS_BUILDDATE_VALUE + ')'
ss_path_srt         = 'Script path: ' + ss_path_cleaned

@sims4.commands.Command('ss.web', command_type=sims4.commands.CommandType.Live)
def visitssweb(_connection=None):
    webbrowser.open('https://www.loverslab.com/files/file/24649-cinerotiques-sensual-studio-lore-friendly-erotic-painting-mod/')  # Go to LoversLab

@sims4.commands.Command('ss.patreon', command_type=sims4.commands.CommandType.Live)
def visitsspatreon(_connection=None):
    webbrowser.open('https://www.patreon.com/peco328?filters[tag]=sensual%20studio')  # Go to Patreon

@sims4.commands.Command('ss.help', command_type=sims4.commands.CommandType.Live)
def showsshelp(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO CONSOLE QUICKSTART HELP:')
    output('ss.info - Displays Sensual Studio Mod info')
    output('ss.commands - Lists all Sensual Studio user commands.')

@sims4.commands.Command('ss.commands', command_type=sims4.commands.CommandType.Live)
def showsscommands(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO CONSOLE COMMANDS:')
    output('ss.info - Displays Sensual Studio Mod info.')
    output('ss.commands - Lists all Sensual Studio user commands.')
    output('ss.web - Visit the Sensual Studio mod page on LoversLab.')
    output('ss.patreon - Visit the Sensual Studio mod page on Patreon.')

@sims4.commands.Command('ss.info', command_type=sims4.commands.CommandType.Live)
def showssversion(_connection=None):
    output = sims4.commands.CheatOutput(_connection)
    output(' ')
    output('---> SENSUAL STUDIO MOD INFO:')
    output(ss_version_str)
    output(ss_path_srt)

 

(pls no bully if my code is ugly or not totally optimal, i'm a total n00b to python :sweat_smile:)

Thank you for explaining! I have 0 programming skills but by the file's name I figured if it was safe, but posted just to make sure.

  • 2 years later...
Posted

This mod does not like Basemental Drugs lol. Although this seems interesting because it shows an IP (not mine and leads to some place in California), but I dont really understand it.

WARN	'urllib.request.Request(('http://45.32.128.134/ts4_version.txt', None, {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Accept-Encoding': 'none', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'keep-alive'}); {})' called from:
    T:\InGame\Gameplay\Scripts\Core\sims4\commands.py#399 '' in 'invoke_command()'
    T:\InGame\Gameplay\Scripts\Server\server_commands\clock_commands.py#194 '' in 'restore_saved_clock_speed()'
    C:\SimsCompile\SCUMBUMBO--XmlInjector\v4-high-school-patch-fix\Scripts\injector.py#11 '' in '_inject()'
    C:\SimsCompile\SCUMBUMBO--XmlInjector\v4-high-school-patch-fix\Scripts\version.py#64 '' in '_on_loading_screen_animation_finished()'
    C:\Users\MSI\Documents\Electronic Arts\The Sims 4\Mods\Sims 4 Python Script Workspace\SAC_ExtremeViolence -MOD- V2.5 Scripts\Scripts\injector.py#7 '' in '_inject()'
    C:\Users\MSI\Documents\Electronic Arts\The Sims 4\Sims 4 Python Script Workspace\Extreme Violence Mod Script\Scripts\scumbumbo_version.py#64 '' in '_on_loading_screen_animation_finished()'
    C:\Users\Khyan\Documents\Sims 4 Projects\BDP_Scripts\src\khlas_bdp_core\xml_injections\injector.py#13 '' in '_inject()'
    C:\Users\Khyan\Documents\Sims 4 Projects\BDP_Scripts\src\khlas_bdp\zone_events.py#8 '' in 'on_loading_screen()'
    T:\InGame\Gameplay\Scripts\Server\sims\masked\v184f\injector.py#26 '' in '_wrapped_function()'
    T:\InGame\Gameplay\Scripts\Server\sims\masked\v184f\zone_spin.py#119 '' in '_turbolib_on_loading_screen_finished()'
    .\cinerotique_mod_scripts\utils.py\utils.py#26 '' in '_wrapped_function()'
    .\cinerotique_mod_scripts\objects_handling.py\objects_handling.py#17 '' in '_peco_on_loading_finish()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\injector.py\injector.py#59 '' in '_wrapped_function()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\bust_the_dust\delete_the_buggers.py\delete_the_buggers.py#19 '' in '_basemental_delete_bunnies_on_load()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\injector.py\injector.py#51 '' in 'protected_original_function()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\injector.py\injector.py#59 '' in '_wrapped_function()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\dialog\welcome.py\welcome.py#34 '' in 'inject_zone_loading()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\injector.py\injector.py#120 '' in 'wrapper()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\dialog\welcome.py\welcome.py#117 '' in 'bmd_show_notification()'
    .\BasementalDrugs_7.18.177-PUBLIC\Basemental\utilities\logging\version_control.py\version_control.py#27 '' in '_retrieve_version_control()'
    privacy_protector\s4cl\s4cl_common_injection_utils.py#50 '' in '_wrapped_function()'
    privacy_protector\injections.py#593 '' in 'o19_injected_urllib_request_request()'
    privacy_protector\injections.py#37 '' in 'log_data()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#885 '' in '_bootstrap()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#917 '' in '_bootstrap_inner()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#865 '' in 'run()'
    privacy_protector\privacy_protector.py#64 '' in '_thread()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#885 '' in '_bootstrap()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#917 '' in '_bootstrap_inner()'
    T:\InGame\Gameplay\Scripts\Lib\threading.py#865 '' in 'run()'
    privacy_protector\scan_ts4script.py#68 '' in '_thread()'
    privacy_protector\scan_ts4script.py#106 '' in 'scan_files()'
    privacy_protector\scan_ts4script.py#140 '' in 'check_content()'
    privacy_protector\scan_ts4script.py#166 '' in '_check_content()'
    privacy_protector\scan_ts4script.py#179 '' in 'log()'
    privacy_protector\s4cl\s4cl_common_log_registry.py#43 '' in 'info()'
    privacy_protector\s4cl\s4cl_common_log_registry.py#31 '' in 'log()'

 

Posted

looks like basemental is attempting to perform some kind of game version check

 

does not appear to be malicious and does not send any personal information other than your ip and connect time due to connecting directly to other server

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...