BambuSource2Raw
BambuSource2Raw copied to clipboard
NetworkFile.conf is binary data since latest update
file ~/.config/BambuStudio/BambuNetworkEngine.conf
: data
previously it was basic json
Thank you for reporting this issue.
I implemented login related functions a while ago.
I will do some test next week and add a command to generate a json config file.
BambuNetworkEngine.conf is now aes128 encrypted.
It can be decrypted with the following code.
AES_KEY key;
AES_set_decrypt_key((const unsigned char *)"i4crL3LESLnWapLS", 128, &key);
size_t pos = 0;
do
{
AES_decrypt(&cfg_data[pos], &de_data[pos], &key);
pos += 16;
} while (pos < cfg_file_size);
I just add the support of cfg file generation
to generate a simple BambuNetworkEngine.conf
./bambusource2raw gen_cfg -u [account_name] -p [password] -r [cn or us]
still needs more testing.