Created
March 1, 2024 06:31
-
-
Save vitalibaranov/99951cad234488eb32531c5f3a61214e to your computer and use it in GitHub Desktop.
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
ids=2785842,2919141,2363893,7902847,19416505,23701738,28084296,12268009,28084373,12850670,20393466,20692366,47567992,19384994,19979947,18256954,18257164,19111918,18871052,18992173,19007092,19007299,20183868,19513797,23732708,23705761,23784405,20392018,24685436,23708008,28191317,22078848,22508628,22508710,22509641,23501633,24470639,24479008,25183316,25183428,25183425,25183537,32949344,29741448,26413484,26861779,27088821,27214927,31141800,46247853,47581784,28148426,28149341,28149418,28206518,27779740,28575696,36746915,36747052,36746994,29706782,29761412,36747261,32178496,32179059,31874210,35072440,35885661,31116712,31116813,31130583,35690373,34958893,32401868,35287880,35690972,32803815,35692678,35247828,35196577,34709565,34488105,34655147,34652604,34654248,34654621,34968091,35059642,36751699,36751801,36751818,36751880,36400741,36220017,36490412,47798020,47565259,47566447,45875311,45876338,46923787,46923835,47789063,47568017,47568597,51331852,51535141,51545610 | |
for value in $(echo $ids | sed "s/,/ /g") | |
do | |
curl -i "https://talantix.ru/admin/personsReindex?fromPersonId=$value&toPersonId=$value" \ | |
-X 'POST' \ | |
-H 'authority: talantix.ru.tms17.pyn.ru' \ | |
-H 'accept: application/json' \ | |
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \ | |
-H 'cache-control: no-cache' \ | |
-H 'content-length: 0' \ | |
-H 'cookie: tmr_lvid=d28c217656fae2923302051dce26d35e; tmr_lvidTS=1661933573721; _ym_uid=166193357452665563; _ym_d=1706188159; _xsrf=02bd1e49ebe9442589c56e3ab3ec0e14; tmsuid=45d955fe-94e1-49bc-a0dc-6c303b82a252; tmstoken=cab8fa9a-b3c0-4d14-af51-533d6806db87; tmsFirstLoad=true' \ | |
-H 'origin: https://talantix.ru.tms17.pyn.ru' \ | |
-H 'pragma: no-cache' \ | |
-H 'referer: https://talantix.ru.tms17.pyn.ru/admin/personsReindex' \ | |
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ | |
-H 'sec-ch-ua-mobile: ?0' \ | |
-H 'sec-ch-ua-platform: "Linux"' \ | |
-H 'sec-fetch-dest: empty' \ | |
-H 'sec-fetch-mode: cors' \ | |
-H 'sec-fetch-site: same-origin' \ | |
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ | |
-H 'x-tms-static-version: 5.8.78' \ | |
-H 'x-tms-version: 100' \ | |
-H 'x-xsrf-token: 02bd1e49ebe9442589c56e3ab3ec0e14' \ | |
--compressed | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment