我正在使用tor-request
節點模塊,並遇到問題。我遵循了所有可以找到的步驟和方向,我在網上搜索了每個站點,並且重新啓動了計算機。我無法完成我的項目,真的很掙扎。我一直收到雙引號錯誤。 Id感謝任何幫助。生成tor控制端口密碼
//開始TOR
tor &
我tor --hash-password "myPasswordHere" | tail -n 1
//I also tried
tor --hash-password myPasswordHereWithOutQuotes
//託文件
ControlPort生成的密碼9051
HashedControlPassword 16:7{{numbers that ^^ returned}}786C1
//index.js/TOR請求
var TorControlPort = {
password: "myPasswordHere",
host: 'localhost',
port: 9051,
...
ERROR Uncaught Error: Error communicating with Tor ControlPort 551 Invalid quoted string. You need to put the password in double quotes.
謝謝,對於任何人這可能有所幫助。我用這個來轉換密碼。這解決了報價錯誤,但導致另一個驗證新的會議。 http://www.dirtymonday.net/key_convert.html –
我向開發人員提交了一份關於github的bug報告,以便我們看看他們有什麼要說的。很高興至少爲最初的問題工作。 – drew010