HPDX2300
28.07.2023, 13:56
Объясняю как проверить "дамп ключа выдержит 2-х этапную проверку изделием?"
Берём публичный дамп (создан ТГ-ботом) с SN=HASPID=478404269=0x1C83DEAD и раздаем его каким-либо HASPLM
Включаем создание технологического журнала - создаем в папке conf файл logcfg.xml такого содержания:
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://v8.1c.ru/v8/tech-log">
<log location="/tmp/1C/tlogs" history="10">
<event>
<eq property="name" value="hasp"/>
</event>
<property name="all"/>
</log>
</config>
у меня папка для журналов задана в строке (измените на своё):
log location="/tmp/1C/tlogs"
содержание технологического журнала с коментариями:
//запуск 1cv8, главный поток (OSThread=2712) процесса
11:28.370,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_SET_CONFIG_FILENAME(,prog=17,ser=ORGL8,,siz e=41,,FName=~/.1cv8/1C/1cv8/conf/nethasp.ini)->,,,'
11:28.370,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_LASTSTATUS(,prog=17,ser=ORGL8,,,,)->NStat=0,SysErr=0,stat=0,'
// далее все вызовы NETHASP_LASTSTATUS() удалены т.к. не интересны
// поздоровкаемся с HASPLM (т.е.NETHASP_LOGIN):
11:32.379,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_LOGIN(,prog=17,ser=ORGL8,,,,)->,,,'
// поиск локальных ключей клиентских серий:
11:32.380,HASP,2,process=1cv8,OSThread=2712,Txt='L OCALHASP_ISHASP(,,ser=ORGL8,,,,)->found=0,port=0,stat=-100,'
11:32.380,HASP,2,process=1cv8,OSThread=2712,Txt='L OCALHASP_ISHASP(,,ser=ORG8A,,,,)->found=0,port=0,stat=-100,'
11:32.380,HASP,2,process=1cv8,OSThread=2712,Txt='L OCALHASP_ISHASP(,,ser=ORG8B,,,,)->found=0,port=0,stat=-100,'
11:32.380,HASP,2,process=1cv8,OSThread=2712,Txt='L OCALHASP_ISHASP(,,ser=Base,,,,)->found=0,port=0,stat=0,'
11:32.380,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_SET_CONFIG_FILENAME(,prog=17,ser=ORG8A,,siz e=41,,FName=~/.1cv8/1C/1cv8/conf/nethasp.ini)->,,,'
11:32.383,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_LOGIN(,prog=17,ser=ORG8A,,,,)->,,,'
11:32.384,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_SETIDLETIME(idle=8,prog=17,ser=ORG8A,,,,)->,,,'
// читает первые (pos=0) 5 слов (size=5) из памяти ключа, результат=buf=01000000000000085E0C
11:32.386,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=0,size=5,, )->,,stat=0,buf=01000000000000085E0C'
// HASPID=478404269=0x1C83DEAD
11:32.387,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_HASPID(,prog=17,ser=ORG8A,,,,)->id=478404269,,stat=0,'
11:32.389,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_HASPQUERYLICENSE(,prog=17,ser=ORG8A,,,,)->CurUsr=1,UsrLim=300,type=65535,remain=65535'
11:32.390,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_HASPQUERYLICENSE(,prog=17,ser=ORG8A,,,,)->CurUsr=1,UsrLim=300,type=65535,remain=65535'
11:32.391,HASP,2,process=1cv8,OSThread=2712,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=58,size=5, ,)->,,stat=0,buf=FFFFFFFFFFFFFFFFFFFF'
11:33.834,HASP,1,process=1cv8,OSThread=2712,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=39,,buf =7C7B00F5616677FEFA1254DBF286F008E62034A56A5047D51 7BDAE22FD7B0C79F70C6E5873E556)->,,stat=0,buf=9D3A65A2B9DD315EA7F6FD105D1D6745F6A13 C3E6BB3B10F45ACD4646CC5CBEAF8585FDBFE13DC'
// HASPID=478404269=0x1C83DEAD
11:33.857,HASP,1,process=1cv8,OSThread=2712,Txt='N ETHASP_HASPID(,prog=17,ser=ORG8A,,,,)->id=478404269,,stat=0,'
// поток OSThread=2748 начинает чтение памяти ключа (102 байт=51 слов) по одному слову за раз (size=1), смещение (pos=33) рандомизировано, результат чтения: buf=CB56
11:34.386,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=33,size=1, ,)->,,stat=0,buf=CB56'
11:34.649,HASP,1,process=1cv8,OSThread=2712,Usr=А дминистратор,Txt='NETHASP_READBLOCK(,p rog=17,ser=ORG8A,pos=0,size=5,,)->,,stat=0,buf=01000000000000085E0C'
// HASPID=478404269=0x1C83DEAD
11:34.650,HASP,1,process=1cv8,OSThread=2712,Usr=А дминистратор,Txt='NETHASP_HASPID(,prog =17,ser=ORG8A,,,,)->id=478404269,,stat=0,'
// у меня вызовы NETHASP_READBLOCK идут каждую секунду т.к. сломано "курение бамбука по 60-90 сек", у вас будут интервалы по 60-90 сек (значение рандомизировано)
11:35.388,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=51,size=1, ,)->,,stat=0,buf=7F19'
11:36.389,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=25,size=1, ,)->,,stat=0,buf=5A37'
11:37.391,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=24,size=1, ,)->,,stat=0,buf=62C3'
11:38.392,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=40,size=1, ,)->,,stat=0,buf=8162'
11:39.394,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=12,size=1, ,)->,,stat=0,buf=3D28'
11:40.395,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=35,size=1, ,)->,,stat=0,buf=6CC3'
11:41.397,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=10,size=1, ,)->,,stat=0,buf=97B9'
11:42.398,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=1,size=1,, )->,,stat=0,buf=0000'
11:43.400,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=14,size=1, ,)->,,stat=0,buf=4C33'
11:44.401,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=5,size=1,, )->,,stat=0,buf=6D6F'
11:45.403,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_HASPID(,prog=17,ser=ORG8A,,,,)->id=478404269,,stat=0,'
11:46.404,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=55,size=1, ,)->,,stat=0,buf=9E62'
11:47.406,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=32,size=1, ,)->,,stat=0,buf=7D6C'
11:48.407,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=11,size=1, ,)->,,stat=0,buf=2E4F'
11:49.409,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=18,size=1, ,)->,,stat=0,buf=70B1'
11:50.410,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=54,size=1, ,)->,,stat=0,buf=F88E'
11:51.411,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=31,size=1, ,)->,,stat=0,buf=ED65'
11:52.413,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=52,size=1, ,)->,,stat=0,buf=16DF'
11:53.414,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=27,size=1, ,)->,,stat=0,buf=79E4'
11:54.416,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=47,size=1, ,)->,,stat=0,buf=E2CE'
11:55.417,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=16,size=1, ,)->,,stat=0,buf=8D75'
11:56.419,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=6,size=1,, )->,,stat=0,buf=44FB'
11:57.420,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=43,size=1, ,)->,,stat=0,buf=03CC'
11:58.422,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=29,size=1, ,)->,,stat=0,buf=1B6F'
11:59.423,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=19,size=1, ,)->,,stat=0,buf=17C9'
12:00.425,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=22,size=1, ,)->,,stat=0,buf=FAAC'
12:01.426,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=0,size=1,, )->,,stat=0,buf=0100'
12:02.428,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=30,size=1, ,)->,,stat=0,buf=AE50'
12:03.429,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=36,size=1, ,)->,,stat=0,buf=AED5'
12:04.431,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=37,size=1, ,)->,,stat=0,buf=F515'
12:05.432,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=50,size=1, ,)->,,stat=0,buf=8F01'
12:06.433,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=48,size=1, ,)->,,stat=0,buf=1264'
12:07.435,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=3,size=1,, )->,,stat=0,buf=0008'
12:08.436,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=44,size=1, ,)->,,stat=0,buf=5A30'
12:09.438,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=49,size=1, ,)->,,stat=0,buf=3B5C'
12:10.439,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=8,size=1,, )->,,stat=0,buf=82CB'
12:11.441,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=26,size=1, ,)->,,stat=0,buf=B16E'
12:12.442,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=23,size=1, ,)->,,stat=0,buf=DABA'
12:13.444,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=2,size=1,, )->,,stat=0,buf=0000'
12:14.445,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=17,size=1, ,)->,,stat=0,buf=8417'
12:15.447,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=9,size=1,, )->,,stat=0,buf=CD99'
12:16.448,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=21,size=1, ,)->,,stat=0,buf=E434'
12:17.450,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=39,size=1, ,)->,,stat=0,buf=D01A'
12:18.451,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=41,size=1, ,)->,,stat=0,buf=4CC6'
12:19.453,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=34,size=1, ,)->,,stat=0,buf=3CE7'
12:20.454,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=45,size=1, ,)->,,stat=0,buf=690F'
12:21.456,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=28,size=1, ,)->,,stat=0,buf=A97F'
12:22.457,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=13,size=1, ,)->,,stat=0,buf=F937'
12:23.459,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=53,size=1, ,)->,,stat=0,buf=03D0'
12:24.460,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=20,size=1, ,)->,,stat=0,buf=B2D4'
12:25.462,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=38,size=1, ,)->,,stat=0,buf=901C'
12:26.463,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=46,size=1, ,)->,,stat=0,buf=F624'
12:27.465,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=42,size=1, ,)->,,stat=0,buf=001B'
12:28.466,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=15,size=1, ,)->,,stat=0,buf=3F45'
12:29.468,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=7,size=1,, )->,,stat=0,buf=0764'
12:30.469,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORG8A,pos=4,size=1,, )->,,stat=0,buf=5E0C'
// поток OSThread=2748 начал второй этап проверки памяти ключа (признак - вызов NETHASP_DECODEDATA, входные данные в буфере size=102 байт - первые 10 байт уже проверены 1-м этапом проверки, который происходит сразу после запуска):
12:31.472,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=102,,bu f=6D6F44FB076482CBCD9997B92E4F3D28F9374C333F458D75 841770B117C9B2D4E434FAACDABA62C35A37B16E79E4A97F1B 6FAE50ED657D6CCB563CE76CC3AED5F515901CD01A81624CC6 001B03CC5A30690FF624E2CE12643B5C8F017F1916DF03D0F8 8E9E62)->,,stat=0,buf=62A7BFF000507269766574314321446F6E617 42435306B3A4254433A626331716B776E6A6B34796D6338703 7383365356D3763773066756E61733636336A6A6E397838797 4333A546F676461506572657374616E75536C6F766F4861636 B657261214D694D6F'
// а теперь забавное - копируем результат NETHASP_DECODEDATA в буфер обмена:
// 62A7BFF000507269766574314321446F6E61742435306B3A42 54433A626331716B776E6A6B34796D63387037383365356D37 63773066756E61733636336A6A6E3978387974333A546F6764 61506572657374616E75536C6F766F4861636B657261214D69 4D6F
// и вставляем в редакторе как HEX-text (в редакторе 010editor - меню "Edit"->"Paste From..."->"Paste from HEX Text"; в notepad++ вставить и преобразовать в текст командой меню "Plugins"->"Convert"->"HEX->ASCII")
// получаем строку:
// Privet1C!Donat$50k:BTC:bc1qkwnjk4ymc8p783e5m7cw0fu nas663jjn9x8yt3:TogdaPerestanuSlovoHackera!MiMo
//
// перефразирую слова Фрунзика Мкртчяна в к/ф "Мимино" - "так доната 50000$ хочется, што кущать не могу"
// дальше идут вызовы DECODEDATA/ENCODEDATA, полагаю - для проверки "доступен ли HASP-ключ?", покажем несколько:
12:34.475,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =E3EDB7B7CAF90B0C0B4133764FC270FAFFBA596C)->,,stat=0,buf=566E830B8AED5C39F51C8A405EFDBA8966A1C 569'
12:35.477,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =7BBCD17E8D0F28E1336359BEADCF4DDB7F737D4A)->,,stat=0,buf=8251BD6F798B90CDC6839711CB7C43C1CF0B5 104'
12:36.480,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =81C7E5954FC544F7B034E8FC1C353BC44E070B32)->,,stat=0,buf=FB7F736B7140B5EE21943A312D030F4540A66 F3E'
12:37.482,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =566E830B8AED5C39F51C8A405EFDBA8966A1C569)->,,stat=0,buf=E3EDB7B7CAF90B0C0B4133764FC270FAFFBA5 96C'
12:38.485,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =8251BD6F798B90CDC6839711CB7C43C1CF0B5104)->,,stat=0,buf=7BBCD17E8D0F28E1336359BEADCF4DDB7F737 D4A'
12:39.487,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =8B453A18A98318B0D92816DC01E0ADBAA6E1ADA7)->,,stat=0,buf=D702DC2A980721D80CEC56512D3ADB257ACB9 51F'
12:40.489,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =D702DC2A980721D80CEC56512D3ADB257ACB951F)->,,stat=0,buf=8B453A18A98318B0D92816DC01E0ADBAA6E1A DA7'
12:41.491,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =979182FE85C65026A0249FBA13F9D193962A21CE)->,,stat=0,buf=5BFD94963C4F0D847E4D4F75B043D1E3A0609 4EC'
12:42.494,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =5BFD94963C4F0D847E4D4F75B043D1E3A06094EC)->,,stat=0,buf=979182FE85C65026A0249FBA13F9D193962A2 1CE'
12:43.497,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =B95CD2478CA5E63CE5B6A6F2BB77E04B90CA87BB)->,,stat=0,buf=913FC0EEC288534575D3398D0918F08F9CBA9 FB9'
12:44.499,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =FB7F736B7140B5EE21943A312D030F4540A66F3E)->,,stat=0,buf=81C7E5954FC544F7B034E8FC1C353BC44E070 B32'
12:45.501,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =913FC0EEC288534575D3398D0918F08F9CBA9FB9)->,,stat=0,buf=B95CD2478CA5E63CE5B6A6F2BB77E04B90CA8 7BB'
12:46.504,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =FC98C1CBD94D6F68073E99BAECB9671050293A0E)->,,stat=0,buf=93CD69CB77AA59B4466E94C6165C72FB596BB 48F'
12:47.506,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =93CD69CB77AA59B4466E94C6165C72FB596BB48F)->,,stat=0,buf=FC98C1CBD94D6F68073E99BAECB9671050293 A0E'
12:48.508,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =FC98C1CBD94D6F68073E99BAECB9671050293A0E)->,,stat=0,buf=93CD69CB77AA59B4466E94C6165C72FB596BB 48F'
12:49.511,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =4D950A92F3F094C4F30AE877C6D6E14C55ED0C80)->,,stat=0,buf=D1A4E623584471B0C4246C2258D1DD52CD807 8A3'
12:50.513,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =4D950A92F3F094C4F30AE877C6D6E14C55ED0C80)->,,stat=0,buf=D1A4E623584471B0C4246C2258D1DD52CD807 8A3'
12:51.515,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORG8A,,size=20,,buf =D1A4E623584471B0C4246C2258D1DD52CD8078A3)->,,stat=0,buf=4D950A92F3F094C4F30AE877C6D6E14C55ED0 C80'
// нормальный выход из программы заканчивается NETHASP_LOGOUT
12:52.248,HASP,0,process=1cv8,OSThread=2748,Txt='N ETHASP_LOGOUT(,prog=17,ser=ORG8A,,,,)->,,,'
затем раздадим фейковый дамп, сделан был для целей отладки изделия в дебагере:
DATA=
01 00 00 00 00 00 00 08 00 00 0B 0C 0D 0E 0F 10
11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20
21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30
31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40
41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50
51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60
61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70
содержание технологического журнала в случае, когда вторая проверка памяти ключа не прошла
53:03.198,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_SET_CONFIG_FILENAME(,prog=17,ser=ORGL8,,siz e=41,,FName=~/.1cv8/1C/1cv8/conf/nethasp.ini)->,,,'
53:03.200,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_LOGIN(,prog=17,ser=ORGL8,,,,)->,,,'
53:03.201,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_SETIDLETIME(idle=8,prog=17,ser=ORGL8,,,,)->,,,'
53:03.203,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=0,size=5,, )->,,stat=0,buf=01000000000000080000'
53:03.204,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_HASPID(,prog=17,ser=ORGL8,,,,)->id=1025225143,,stat=0,'
53:03.205,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_HASPQUERYLICENSE(,prog=17,ser=ORGL8,,,,)->CurUsr=1,UsrLim=100,type=100,remain=65535'
53:03.207,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_HASPQUERYLICENSE(,prog=17,ser=ORGL8,,,,)->CurUsr=1,UsrLim=100,type=100,remain=65535'
53:03.208,HASP,2,process=1cv8,OSThread=5121,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=58,size=5, ,)->,,stat=0,buf=FFFFFFFFFFFFFFFFFFFF'
53:04.615,HASP,1,process=1cv8,OSThread=5121,Txt='N ETHASP_ENCODEDATA(,prog=17,ser=ORGL8,,size=39,,buf =7C7B00F5616677FEFA1254DBF286F008E62034A56A5047D51 7BDAE22FD7B0C79F70C6E5873E556)->,,stat=0,buf=EDDDD12019B9D025019894BBEB79452DF13FD 141C5DCE779A5598710C3ACBDF1AF703CD9C1EF8E'
53:04.639,HASP,1,process=1cv8,OSThread=5121,Txt='N ETHASP_HASPID(,prog=17,ser=ORGL8,,,,)->id=1025225143,,stat=0,'
53:05.203,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=41,size=1, ,)->,,stat=0,buf=5354'
53:06.206,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=35,size=1, ,)->,,stat=0,buf=4748'
53:07.207,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=32,size=1, ,)->,,stat=0,buf=4142'
53:07.725,HASP,1,process=1cv8,OSThread=5121,Usr=А дминистратор,Txt='NETHASP_READBLOCK(,p rog=17,ser=ORGL8,pos=0,size=5,,)->,,stat=0,buf=01000000000000080000'
53:07.726,HASP,1,process=1cv8,OSThread=5121,Usr=А дминистратор,Txt='NETHASP_HASPID(,prog =17,ser=ORGL8,,,,)->id=1025225143,,stat=0,'
53:08.209,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=38,size=1, ,)->,,stat=0,buf=4D4E'
53:09.211,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=49,size=1, ,)->,,stat=0,buf=6364'
53:10.212,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=45,size=1, ,)->,,stat=0,buf=5B5C'
53:11.213,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=5,size=1,, )->,,stat=0,buf=0B0C'
53:12.215,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=1,size=1,, )->,,stat=0,buf=0000'
53:13.217,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=28,size=1, ,)->,,stat=0,buf=393A'
53:14.218,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=43,size=1, ,)->,,stat=0,buf=5758'
53:15.220,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=47,size=1, ,)->,,stat=0,buf=5F60'
53:16.221,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=11,size=1, ,)->,,stat=0,buf=1718'
53:17.223,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=27,size=1, ,)->,,stat=0,buf=3738'
53:18.224,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=8,size=1,, )->,,stat=0,buf=1112'
53:19.226,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_HASPID(,prog=17,ser=ORGL8,,,,)->id=1025225143,,stat=0,'
53:20.227,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=30,size=1, ,)->,,stat=0,buf=3D3E'
53:21.229,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=19,size=1, ,)->,,stat=0,buf=2728'
53:22.230,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=46,size=1, ,)->,,stat=0,buf=5D5E'
53:23.232,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=15,size=1, ,)->,,stat=0,buf=1F20'
53:24.233,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=26,size=1, ,)->,,stat=0,buf=3536'
53:25.235,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=55,size=1, ,)->,,stat=0,buf=6F70'
53:26.236,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=54,size=1, ,)->,,stat=0,buf=6D6E'
53:27.238,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=36,size=1, ,)->,,stat=0,buf=494A'
53:28.239,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=6,size=1,, )->,,stat=0,buf=0D0E'
53:29.241,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=23,size=1, ,)->,,stat=0,buf=2F30'
53:30.243,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=44,size=1, ,)->,,stat=0,buf=595A'
53:31.245,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=10,size=1, ,)->,,stat=0,buf=1516'
53:32.246,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=21,size=1, ,)->,,stat=0,buf=2B2C'
53:33.248,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=37,size=1, ,)->,,stat=0,buf=4B4C'
53:34.249,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=16,size=1, ,)->,,stat=0,buf=2122'
53:35.251,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=51,size=1, ,)->,,stat=0,buf=6768'
53:36.252,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=18,size=1, ,)->,,stat=0,buf=2526'
53:37.254,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=9,size=1,, )->,,stat=0,buf=1314'
53:38.255,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=22,size=1, ,)->,,stat=0,buf=2D2E'
53:39.257,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=34,size=1, ,)->,,stat=0,buf=4546'
53:40.258,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=52,size=1, ,)->,,stat=0,buf=696A'
53:41.260,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=39,size=1, ,)->,,stat=0,buf=4F50'
53:42.261,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=13,size=1, ,)->,,stat=0,buf=1B1C'
53:43.263,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=4,size=1,, )->,,stat=0,buf=0000'
53:44.264,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=31,size=1, ,)->,,stat=0,buf=3F40'
53:45.265,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=17,size=1, ,)->,,stat=0,buf=2324'
53:46.267,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=48,size=1, ,)->,,stat=0,buf=6162'
53:47.268,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=53,size=1, ,)->,,stat=0,buf=6B6C'
53:48.270,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=42,size=1, ,)->,,stat=0,buf=5556'
53:49.271,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=3,size=1,, )->,,stat=0,buf=0008'
53:50.273,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=20,size=1, ,)->,,stat=0,buf=292A'
53:51.275,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=33,size=1, ,)->,,stat=0,buf=4344'
53:52.276,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=29,size=1, ,)->,,stat=0,buf=3B3C'
53:53.278,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=7,size=1,, )->,,stat=0,buf=0F10'
53:54.279,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=12,size=1, ,)->,,stat=0,buf=191A'
53:55.281,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=0,size=1,, )->,,stat=0,buf=0100'
53:56.282,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=25,size=1, ,)->,,stat=0,buf=3334'
53:57.284,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=40,size=1, ,)->,,stat=0,buf=5152'
53:58.286,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=2,size=1,, )->,,stat=0,buf=0000'
53:59.287,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=14,size=1, ,)->,,stat=0,buf=1D1E'
54:00.289,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=50,size=1, ,)->,,stat=0,buf=6566'
54:01.291,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_READBLOCK(,prog=17,ser=ORGL8,pos=24,size=1, ,)->,,stat=0,buf=3132'
54:02.294,HASP,0,process=1cv8,OSThread=5157,Txt='N ETHASP_DECODEDATA(,prog=17,ser=ORGL8,,size=102,,bu f=0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122 232425262728292A2B2C2D2E2F303132333435363738393A3B 3C3D3E3F404142434445464748494A4B4C4D4E4F5051525354 55565758595A5B5C5D5E5F606162636465666768696A6B6C6D 6E6F70)->,,stat=0,buf=0452E9A796AE919ACDC37C760464FB464E802 195CF3D009C134F8631B62949BD30B667E98ED60CF5354FD6A 6B8198DD20E024B5B5541AD51F0945576D5752E61468681AEA EE4719BC1DCD36128BAD937204A1C6F40AB1B297609F880B90 3B68C58CA41A70139'
// работа приложения молча завершилась. в окне терминала, где запускался 1cv8, надпись:
terminate called after throwing an instance of 'backbas::HaspLostException'
Aborted (core dumped)
Powered by vBulletin™ Version 4.2.5 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. Перевод: zCarot