|
|
@@ -651,8 +651,7 @@ async function getLoginScanUrl(url){
|
|
|
magicJS.http.get(options).then(resp => {
|
|
|
const htmlText = resp.body;
|
|
|
try {
|
|
|
- magicJS.logger.info(`页面数据:${htmlText}`);
|
|
|
- magicJS.logger.info(`响应头部:${JSON.stringify(resp.location)}`);
|
|
|
+ // magicJS.logger.info(`页面数据:${htmlText}`);
|
|
|
magicJS.logger.info(`响应头部:${JSON.stringify(resp.headers)}`);
|
|
|
let urlMatch = htmlText.match(/saomaurl=([\s\S]*)/); // 正则表达式匹配
|
|
|
if(urlMatch){
|
|
|
@@ -761,6 +760,7 @@ async function getEncryptConf(){
|
|
|
magicJS.http.post(options).then(resp => {
|
|
|
try {
|
|
|
let data = resp.body;
|
|
|
+ magicJS.logger.info(`响应头部:${JSON.stringify(resp.headers)}`);
|
|
|
magicJS.logger.info(`获取RSA公共密钥数据: ${JSON.stringify(data)}`);
|
|
|
resolve(data);
|
|
|
} catch (err) {
|
|
|
@@ -795,7 +795,6 @@ async function getCaptchaData(lt, toUrl){
|
|
|
magicJS.http.post(options).then(resp => {
|
|
|
try {
|
|
|
let data = resp.body;
|
|
|
- magicJS.logger.info(JSON.stringify(data));
|
|
|
magicJS.logger.info(`获取Captcha数据: ${JSON.stringify(data)}`);
|
|
|
resolve(data);
|
|
|
} catch (err) {
|