Forum Replies Created
-
AuthorPosts
-
JWParticipant
Gmail basically will block your email even you enable “less secure app access”, it’s very hard to find this setting in gmail account setting.
Outlook will allow you send email, when you enable similar “less secure app access”. But after about 10 emails, Outlook will block you as spam, you will need to enable it again manually. Then you can use it for a long time.
Best way is use your own server as zzz suggested
JWParticipantV6 Linux version does not have the native Administrator App.
It’s possible to run the Administrator App using Wine. but might have some issues here and there.
https://forum.rapidscada.org/?topic=rapidscada-6-1-install-on-linux-problem
JWParticipantThanks, it’s quite convenient.
I think the device status can cover 99% of use cases.JWParticipantSCADA supports Active Directory, does it fit your need?
JWParticipantTested again, confirmed they are all UTC time.
I made some mistakes while introducing posixtime, forgetting the conversion between timezone has been handled automatically.
No problem now.
JWParticipantI get most command done except the login…
use wireshark captured 3 login data, the “Encrypted Password String Bytes” are different each time.
02003d000000cce90c32cd62e16f020009005363616461436f6d6d20004244383437323932323946453046443831343932394339393445354132393430000000000000 02003d000000e7bc670599955ad1020009005363616461436f6d6d20004343464338394230304237383246353231344434343837434431304341354545000000000000 02003d0000006c50d7e367885fa3020009005363616461436f6d6d20003631453934424138324433453145363036323643313743374236383633334339000000000000
So the string bytes should be not directly the “Encrypted Password encrypt password tool”.
Some further encryption operation has been done to the password before packing it into bytes.
Is there any instruction on this?
JWParticipantmy mistake, misinterpreted the string in the doc, the string format description is correct.
JWParticipantComparing the network traffic, I found a mismatch of the protocol document.
for the 0x0002 function,
for the field of username, password, instance,
actually should be
length of username (2bytes),
username,
length of password (2bytes),
password
length of instance (2bytes),
instanceJWParticipantI am confused with the encrypted password meaning for the API.
for the HelloWorld Project, default ScadaComm account
Plain test pw = scada
pw from user table = F9A226BC671CB198C7D83ADEA0B1F2B8
pw from encrypt password tool = B9D0F030265751578B00E9801C69320C
secrete key = 0E063D581B1DB27B8E984993DED65CE99284A706756C706C7F3B12C44BD55D4Dfor the API 0x0002 login, a field say encrypted password, does it mean the pw from encrypt password tool? or I need to do AES encryption again using pw from encrypt password tool with secrete key
JWParticipantfinally found the issue, in the password field of the xml, can not use the password copy from user table.
need to use the password generated from the Project Tools -> Encrypt Password.
JWParticipantAfter trying all the methods, still not working.
Then I downloaded the ScadaTestClient again, this time running it, then it worked.
There is a windows warning about the unsigned application this time, never popup before, then after clicking yes, it can run. not sure if it is relevant.
JWParticipantStill can get it to work. same error when I use different username and password and key.
The source code example is quite detail for other function codes, but there is no detail of the log in function.
I am using python to work with the API, putting together the commands from bytes, so quite relies on the API documents.
JWParticipantJWParticipantI downloaded the ScadaTestClient, but get the following error on starting.
https://1drv.ms/i/c/7d196e63b671ad1b/ESoeGQzc1ypPnSTSW0IhcxcBn1E_3c0zCZ4ng3FaE967LQ?e=ZDmeGt
JWParticipantI copied the encrypted password string from ScadaAdmin.
username = guest
encrypted password string = D353B3161AC1FFC43C79CE23FAE333EF
Also very weird the error message missed the first 2 letters of the username
estD353B3161AC1FFC43C79CE23FAE333EF
-
AuthorPosts