v4.1.0, 4.1.1:
Изменен сервер активации: cdn.fundata.fun Новый экшен "Индекс http клиента" Новый параметр GET/POST : "Асинхронный вызов" - Вызывайте запросы в новом потоке, без ожидания! OnErrorCallback, AfterRequestCallback принимает также (request, retry) объекты, как и BeforeRequestCallback. Выполнить JavaScript - Обновил редактор кода, теперь показывает подсказки API Impersonate. Обновил Crypto модуль (RSA) Добавил много подсказок к разному функционалу. По дефолту теперь Remote Build (Экономия веса проекта): https://github.com/Int64x86/moduleDll Много мелких правок.-
@Katant Я обнаружил несколько ошибок в модуле и хотел бы поделиться ими для возможного исправления
1° Ошибка имени настраиваемого порта
Когда я меняю имя порта, TOR генерирует порт и подключается правильно

Но когда мы закрываем соединение с этим настраиваемым именем, мы сталкиваемся со следующей ошибкой.

ошибкаThread #1 : ReferenceError: Can't find variable: TOR_ADMIN during execution of action 440581385Таким образом, название портов не может быть изменено.
2° Ошибка выбора страны
Если я создаю переменную, в которой я выбираю страну, которую хочу, и вставляю ее в TOR, IP не создается.


ошибкаFailed to connect to localhost port 9568: Connection refusedЕсли я пишу прямо в модуль, IP генерируется правильно

"origin": "187.121.83.42"то же самое касается "Disallow these countries".
Надеюсь, вы сможете исправить эти ошибки :)
-
Он устанавливается, но не работает должным образом
-
Версию 1.7 не нужно устанавливать, надо просто скопировать файлы из архива в BrowserAutomationStudio\apps\23.2.2\custom\Tor с заменой.
-
@Katant
при работе периодически выдает ошибку, (по итогу не закрывает текущий процесс tor даже если указано "закрыть", с использованием "игнорировать ошибку"
По итогу очень быстро накапливаются не завершенные процессы, что в непродолжительной перспективе приводит к появлению новых ошибок (использование процессора на 100%)
P.S. Данной ошибке предшествует, невозможность установить прокси в браузер и попытка закрыть процесс с использование блока "игнорировать ошибку" -
@site_master можно например использовать пакет для node.js
port-to-killвместо стандартного. -
There is an error in source of this module. There is easy workarround, but it will be better if OP would fix that error so it works as intended. As a result of that error in source code this module works in 90% of cases, and rest 10% is what causing trouble and cause that error you mentioned.
The error is in create new tor connection JS file. Very first line chooses port number between 1 and 999, and later in the script adds 9000 so port number is between 9000 and 9999. But unfortunately OP didnt solve it good in later code, so ports from 9000 to 9100 are not making good connection and cause that error afterwards, when they need to close. Cause of that error is because those first 100 numbers for ports are false and they are actually opened on wrong port numbers.
So easy workaround would be to replace that formula (first line of code) with code that produces 3 digit numbers - 100-999, and avoid first 100 ports (9000-9100) which are not opening correctly due to error in later code.
It would be best if OP would make all necessary corrections in the code so all ports work as intended. But in meantime you can apply workaround by replacing that first line of code.
-
TOR_PORT = Math.floor(Math.random() * 999);
and
native("filesystem", "writefile", JSON.stringify({path: RANDOM_FILE,value: "chcp 65001\n" + (("".length>0) ? ("cd " + "" + "\n") : "" ) + ("cd custom/Tor/files/Tor\ntor.exe -f torrc -SocksPort 9" + TOR_PORT + " -ControlPort 8" + TOR_PORT + " -DataDirectory %TEMP%/torf" + TOR_PORT + TOR_CUSTOM),base64:false,append:false}))
do not match.
9" + TOR_PORT + " is loosing leading 0 and opens wrong port for ports 9000-9100


