-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,040 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Отладка 1Script", | ||
"type": "oscript", | ||
"request": "launch", | ||
"program": "${file}", | ||
"args": [], | ||
"cwd": "${workspaceRoot}", | ||
"runtimeExecutable": "/Users/karimshakirov/.local/share/ovm/stable/bin/oscript", | ||
"debugPort": 2801, | ||
"protocol": "internal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
|
||
// https://www.proxy-list.download/api/v1/get?type=http&anon=elite&country=US | ||
|
||
Функция ЗапросПрокси() | ||
|
||
ИмяСервера = "https://www.proxy-list.download/"; | ||
URL = "api/v1/get?type=https&anon=transparent"; | ||
|
||
HTTPЗапрос = Новый HTTPЗапрос(URL); | ||
|
||
HTTP = Новый HTTPСоединение(ИмяСервера,443); | ||
|
||
ОтветHTTP = HTTP.Получить(HTTPЗапрос); | ||
|
||
Ответ = ОтветHTTP.ПолучитьТелоКакСтроку(); | ||
|
||
Сообщить(Ответ); | ||
Возврат Ответ; | ||
|
||
КонецФункции | ||
|
||
Процедура ВывестиМассив() | ||
Массив = Новый Массив(); | ||
Массив = СтрРазделить(ЗапросПрокси(), ":"); | ||
|
||
Для Каждого М из Массив Цикл | ||
Сообщить(М); | ||
КонецЦикла; | ||
|
||
КонецПроцедуры | ||
|
||
ВывестиМассив(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#Использовать "../" | ||
|
||
|
||
Процедура ОтпрвитьТГ(Оповещение) | ||
|
||
Мессенджер = Новый Мессенджер(); | ||
BotId = "890545320:AAGKu2MfA2Ct6WZwyF0xNYKscAXxX9Q0CDs"; | ||
Мессенджер.ИнициализироватьТранспорт("telegram", Новый Структура("Логин", BotId)); | ||
Сообщение = Оповещение; | ||
Мессенджер.ОтправитьСообщение("telegram", "1487684", Сообщение); | ||
|
||
КонецПроцедуры | ||
|
||
ОтпрвитьТГ("ll,l,;"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
//http://pubproxy.com/api/proxy | ||
Функция ЗапросПрокси() | ||
|
||
ИмяСервера = "http://pubproxy.com"; | ||
URL = "api/proxy?format=txt&type=http&https=true"; | ||
|
||
HTTPЗапрос = Новый HTTPЗапрос(URL); | ||
|
||
HTTP = Новый HTTPСоединение(ИмяСервера); | ||
|
||
ОтветHTTP = HTTP.Получить(HTTPЗапрос); | ||
|
||
Ответ = ОтветHTTP.ПолучитьТелоКакСтроку(); | ||
|
||
Сообщить(Ответ); | ||
Возврат Ответ; | ||
|
||
КонецФункции | ||
|
||
Процедура НазначениеИПиПорта() | ||
|
||
Массив = Новый Массив(); | ||
Массив = СтрРазделить(ЗапросПрокси(), ":"); | ||
|
||
ProxyIP = Массив[0]; | ||
ProxyPort = Массив[1]; | ||
|
||
КонецПроцедуры | ||
|
||
|
||
|
||
// Процедура ВывестиМассив() | ||
// Массив = Новый Массив(); | ||
// Массив = СтрРазделить(ЗапросПрокси(), ":"); | ||
|
||
// Сообщить(Массив[1]); | ||
|
||
// Для Каждого М из Массив Цикл | ||
// Сообщить(М); | ||
// КонецЦикла; | ||
|
||
// КонецПроцедуры | ||
|
||
// ВывестиМассив(); | ||
|
Oops, something went wrong.