View Issue Details

Category
SSPBT:本体(SSP)
SeverityfeatureReproducibilityN/A 
Status new 
Summary0000137: Expand SSTP support
Description

I try to use this project to communicate with Shiori: https://github.com/Taromati2/SSTP_linker
Then I make Shiori return the additional key&value in this way: https://github.com/Taromati2/ghost/commit/78f748a6a5f25b750cb44ee9084c1e10d65fe365
The communication between SSP and Shiori is like this:

// request
GET SHIORI/3.0
Charset: UTF-8
Sender: OICQ-shiori
SecurityLevel: local
Status: balloon(0=0)
ID: OnOICQlogin

// response (Execution time : 0[ms])
SHIORI/3.0 200 OK
Sender: AYA
Charset: UTF-8
Value: 登录QQ成功
ScriptForShell: 登录QQ成功

But I can't get the extra information through SSTP.
the wcout << linker.NOTYFY(L"Event: OnOICQlogin")[L"ScriptForShell"] just out put nothing.

try{
auto login_info=linker.NOTYFY(L"Event: OnGetOICQkey");
bot.Auth(to_string(login_info[L"Key"]),to_qid(login_info[L"OICQid"]));
wcout << linker.NOTYFY(L"Event: OnOICQlogin")[L"ScriptForShell"] << endl;
}catch(...){
linker.NOTYFY(L"Event: OnOICQloginFailed");
throw;
}

We can transfer this information by putting it into the Sakura script, but it's too ugly
Can we expand support in this area?

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 1,953 KiB

Attach files by dragging & dropping, selecting or pasting them.

送信ボタンを押す前に / Before pushing "Send" button

  • スパム避けのためにパスワードが必要です。送信ボタンを押すとユーザー名とパスワードを聞かれますので、それぞれ "bts" と入力してください。
  • To send report, please input "bts" into username and password box in popup dialog.

Issue History

Date Modified Username Field Change
2021-04-03 12:04 guest New Issue