鍍金池/ 問答/ Linux問答
不討喜 回答

建議使用官方鏡像,或者mariadb可能是更好的選擇
https://store.docker.com/imag...

老梗 回答

真正的端口是頁面加載完用 js 替換的。審查頁面元素有個(gè)加密的 mian.js :

eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) d[e(c)] = k[c] || e(c); k = [function (e) { return d[e] }]; e = function () { return '\\w+' }; c = 1; }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p; }('$(e(){$(\'\\f\\3\\g\\8\\1\\r\\p\\g\\k\')["\\4\\2\\q\\o"](e(u,h){5 7=$(h);5 j=7["\\i\\2\\1\\2"](\'\\a\\3\');5 9=l["\\3\\2\\8\\d\\4\\m\\b\\1"](7["\\i\\2\\1\\2"](\'\\a\'));5 c=j["\\d\\3\\n\\a\\1"](\'\\f\');t(5 6=0;6<c["\\n\\4\\b\\s\\1\\o"];6++){9-=l["\\3\\2\\8\\d\\4\\m\\b\\1"](c[6])}7["\\1\\4\\k\\1"](9)})})', 31, 31, '|x74|x61|x70|x65|var|d7|ClpoEy3|x72|TO5|x69|x6e|tVF6|x73|function|x2e|x6f|fnDKXroKU2|x64|jgemfCG4|x78|window|x49|x6c|x68|x62|x63|x2d|x67|for|wssP1'.split('|'), 0, {}))

在線解密一下得到:

$(function()
    {
    $('\x2e\x70\x6f\x72\x74\x2d\x62\x6f\x78')["\x65\x61\x63\x68"](function(wssP1,fnDKXroKU2)
        {
        var ClpoEy3=$(fnDKXroKU2);
        var jgemfCG4=ClpoEy3["\x64\x61\x74\x61"]('\x69\x70');
        var TO5=window["\x70\x61\x72\x73\x65\x49\x6e\x74"](ClpoEy3["\x64\x61\x74\x61"]('\x69'));
        var tVF6=jgemfCG4["\x73\x70\x6c\x69\x74"]('\x2e');
        for(var d7=0;
        d7<tVF6["\x6c\x65\x6e\x67\x74\x68"];
        d7++)
            {
            TO5-=window["\x70\x61\x72\x73\x65\x49\x6e\x74"](tVF6[d7])
        }
        ClpoEy3["\x74\x65\x78\x74"](TO5)
    }
    )
}
)

十六進(jìn)制轉(zhuǎn)為字符串之后得到:

$(function() {
    $('.port-box')["each"](function(wssP1, fnDKXroKU2) {
        var ClpoEy3 = $(fnDKXroKU2);
        var jgemfCG4 = ClpoEy3["data"]('ip');
        var TO5 = window["parseInt"](ClpoEy3["data"]('i'));
        var tVF6 = jgemfCG4["split"]('.');
        for (var d7 = 0; d7 < tVF6["length"]; d7++) {
            TO5 -= window["parseInt"](tVF6[d7])
        }
        ClpoEy3["text"](TO5)
    })
})

從代碼可以看出,真實(shí)的端口是 .prot-box 里 data-ip 屬性值 減去 ip 的四位數(shù)之和

法克魷 回答

你應(yīng)該有一個(gè)叫l(wèi)ogin的目錄吧. 把這目錄刪掉, 或者修改login這個(gè)路由的地址.

心夠野 回答

你好!
1)nginx是一個(gè)靜態(tài)資源服務(wù)器
2)nginx只是將php的一些請求信息轉(zhuǎn)發(fā)給fastcgi這個(gè)進(jìn)程管理器,然后再轉(zhuǎn)交給php-fpm
3)php-fpm會(huì)將資源轉(zhuǎn)給php腳本解析服務(wù)器的wrapper
4)你需要添加如下配置

location ~ \.php$ {
            #root           html;//這個(gè)是你網(wǎng)站的目錄,你要定義在server層,$document_root或者就是這個(gè)變量
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include        fastcgi_params;
        }
瘋子范 回答

你可以把控制臺的錯(cuò)誤也貼出來。
如果控制臺出現(xiàn)這:net::ERR_CONNECTION_REFUSED就是服務(wù)沒啟動(dòng),或者是后臺打斷點(diǎn)了。
要么就是前端在請求的headers里面加了參數(shù),你沒去解析。

青黛色 回答

跨域問題不應(yīng)該在nginx解決,而且粗暴的添加set_header反而會(huì)出問題,nginx并不會(huì)對這些set_header進(jìn)行驗(yàn)證,反而會(huì)出現(xiàn)一些容易造成瀏覽器混淆的問題。

跨域問題必須在后臺解決,而后端框架一定能處理跨域問題。讓開發(fā)改代碼吧

糖豆豆 回答

open -a "Google Chrome" test.csv

陌如玉 回答

location = ~^/admin 是什么語法?要么精確匹配,要么正則匹配,哪有一起用的?我猜你應(yīng)該是想用 location /admin。

文檔: https://nginx.org/en/docs/htt...

賤人曾 回答

網(wǎng)絡(luò)有問題。
你這是在做采集吧?

慢半拍 回答

如果是 jsp js 之類的直接進(jìn)相關(guān)的 webapp 目錄改內(nèi)容吧

如果是 java 類可以用相同的編譯器 然后替換,一般也是可以的

拼未來 回答

這有可能 是 你本地和 云主機(jī)(或服務(wù)器) 的網(wǎng)絡(luò)出現(xiàn)故障,導(dǎo)致的

深記你 回答

使用props方式,引用不同參數(shù)就可以

子組件:

<div>{{name}}</div>
export default {
  props: ['name']
}

引用:

<component :name="'Ronaldo'"></component>
陪妳哭 回答

朋友,我和你遇到了同樣的docker問題,我的QQ499064132,希望和你取得聯(lián)系

毀了心 回答

在安裝vmware-tools時(shí),出現(xiàn)

“The path "" is not valid path to the gcc binary”

確認(rèn)安裝gcc, 輸入路徑之后/usr/bin/gcc

“The path "/usr/bin/gcc" is not valid path to the gcc binary”

然后直接干脆直接no,
結(jié)果不生效。

查找原因,找到vmware-tools-distrib/bin/vmware-config-tools.pl 文件:
找到:

sub getValidGccPath {
  my $gcc_path = shift;
  my $modconfig = shift;
  my $appLoaderArgs = shift;
  my $answer;
  my $query;
  my $default;

  while (1) {
    if (system("$modconfig --validate-gcc \"$gcc_path\" $appLoaderArgs " .
           ">/dev/null 2>&1") == 0) {
      $query = "The path \"$gcc_path\" appears to be a valid path to the " .
           "gcc binary.";
      $default = 'no';
    } else {
      $query = "The path \"$gcc_path\" is not valid path to the gcc binary.";
      $default = 'yes';
      $gcc_path = '';
    }

    $answer = get_answer($query . "\n Would you like to change it?",
             'yesno', $default);
    if ($answer eq 'yes') {
      # Get new path.
      $gcc_path = query('What is the location of the gcc program ' .
            'on your machine?', $gcc_path, 0);
    } else {
      last;
    }
  }
  return $gcc_path;
}

加入輸入路徑,直接返回gcc_path的值

  $gcc_path = query('What is the location of the gcc program ' .
            'on your machine?', $gcc_path, 0);
  return $gcc_path;

安裝完成,解決

安淺陌 回答

服務(wù)器上的ss加密和ss客戶端的加密方式不一樣,修改后解決了
修改配置文件的加密方式,然后重啟ss就可以上谷歌了圖片描述