text stringlengths 0 834k |
|---|
echo ""Check session audit digest"" |
diff tmpdigestr.bin tmpdigestg.bin |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
echo ""Extend PCR 16"" |
%TPM_EXE_PATH%pcrextend -ha 16 -halg %%H -ic aaa > run.out |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
echo ""PCR 16 read %%H"" |
%TPM_EXE_PATH%pcrread -ha 16 -halg %%H -se0 02000000 81 -ahalg %%H -iosad tmpdigestr.bin > run.out |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
echo ""Get session audit digest"" |
%TPM_EXE_PATH%getsessionauditdigest -hs 02000000 -od tmpdigestg.bin > run.out |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
echo ""Check session audit digest"" |
diff tmpdigestr.bin tmpdigestg.bin |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
echo ""Flush the audit session"" |
%TPM_EXE_PATH%flushcontext -ha 02000000 |
IF !ERRORLEVEL! NEQ 0 ( |
exit /B 1 |
) |
) |
REM cleanup |
rm -f tmppriv.bin |
rm -f tmppub.bin |
rm -f tmpdigestr.bin |
rm -f tmpdigestg.bin |
rm -f sig.bin |
rm -f tmp.bin |
exit /B 0 |
REM getcapability -cap 1 -pr 80000000 |
REM getcapability -cap 1 -pr 02000000 |
",28.1531841652,140,0.6388090726 |
178,d01a0e069ed0a935e51cc5815fd49432d9268464,80,bat,Batchfile,examples/board/touch-event.bat,MakingBrowserGames/phaser3-rex-notes,b601bec3f5e306bac97be6b65340338225867f6b,['MIT'],1.0,2018-09-15T16:56:41.000Z,2018-09-15T16:56:41.000Z,examples/board/touch-event.bat,PBMCube/phaser3-rex-notes,b601bec3f5e306bac97be6b65340338225867f6b,['MIT'],,,,examples/board/touch-event.bat,PBMCube/phaser3-rex-notes,b601bec3f5e306bac97be6b65340338225867f6b,['MIT'],2.0,2018-09-15T16:56:45.000Z,2018-09-15T16:56:59.000Z,"@echo off |
set myproj=./examples/board/touch-event.js |
cd .. |
cd .. |
npm run dev",16.0,43,0.675 |
179,d01a221b9947ff061771cbc0a6da2de32e1ab7a1,44,bat,Batchfile,FRAS/register user.bat,farrasrayhand/Face-Recognition-Attendance-System,7a2fe04c4362b39783912901ee02ddeeea4e4932,['MIT'],,,,FRAS/register user.bat,farrasrayhand/Face-Recognition-Attendance-System,7a2fe04c4362b39783912901ee02ddeeea4e4932,['MIT'],,,,FRAS/register user.bat,farrasrayhand/Face-Recognition-Attendance-System,7a2fe04c4362b39783912901ee02ddeeea4e4932,['MIT'],,,,".\env\Scripts\activate && py register.py |
",14.6666666667,41,0.6818181818 |
180,d01a40615d14a2c9d83d99a062ab9ce88d0c14a4,411,cmd,Batchfile,dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/.rt2860v2_ap.ko.cmd,ghsecuritylab/DIR600B2,78510ce13e037c430c84b4cdc7f49939481fe894,['BSD-2-Clause'],1.0,2019-07-21T01:58:19.000Z,2019-07-21T01:58:19.000Z,dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/.rt2860v2_ap.ko.cmd,ghsecuritylab/DIR600B2,78510ce13e037c430c84b4cdc7f49939481fe894,['BSD-2-Clause'],,,,dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/.rt2860v2_ap.ko.cmd,ghsecuritylab/DIR600B2,78510ce13e037c430c84b4cdc7f49939481fe894,['BSD-2-Clause'],2.0,2020-03-06T22:45:39.000Z,2021-12-23T13:58:14.000Z,"cmd_/home/kwest/release.GPL/dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/rt2860v2_ap.ko := mipsel-linux-ld -m elf32ltsmip -r -o /home/kwest/release.GPL/dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/rt2860v2_ap.ko /home/kwest/release.GPL/dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/rt2860v2_ap.o /home/kwest/release.GPL/dir600b_v2.03/progs.priv/rt2860v2/build/rt2860v2_ap/rt2860v2_ap.mod.o |
",205.5,410,0.8272506083 |
181,d01aae20309853deaf50a2b38b01ed5d6bd4729d,59,bat,Batchfile,windows/diffm.bat,bink81/development-tools,df94793db49f8d035d958e36336d3bf05d78bb33,['MIT'],,,,windows/diffm.bat,bink81/development-tools,df94793db49f8d035d958e36336d3bf05d78bb33,['MIT'],,,,windows/diffm.bat,bink81/development-tools,df94793db49f8d035d958e36336d3bf05d78bb33,['MIT'],,,,"""C:\Program Files\SourceGear\DiffMerge\DiffMerge.exe"" %1 %2",59.0,59,0.7796610169 |
182,d01ab75e11730db5f6fd1c0ed84d74bca05a0b19,824,bat,Batchfile,examples/makecert.bat,peteryang/node-red-contrib-telegrambot,b39906520623b76b34430805b11eea0197374676,['MIT' 'Unlicense'],,,,examples/makecert.bat,peteryang/node-red-contrib-telegrambot,b39906520623b76b34430805b11eea0197374676,['MIT' 'Unlicense'],,,,examples/makecert.bat,peteryang/node-red-contrib-telegrambot,b39906520623b76b34430805b11eea0197374676,['MIT' 'Unlicense'],,,,"REM We assume that git for windows is installed: openssl.exe can be found there. |
REM Follow these steps to install a webhook |
REM make sure that your server is reachable from the internet: e.g. yourname.spdns.de |
REM make sure that your router allows traffic via TCP port 8443 to your server |
REM create a certificate with the correct internet address see above: yourname.spdns.de |
REM configure the bot in node-red: webhook, public port 8443, private port 8443, path to PRIVATE.key and path to PUBLIC.pem |
REM make sure that the checkbox ""Certificate is self signed is checked"" |
set OPENSSL=""%ProgramFiles%\Git\usr\bin\openssl.exe"" |
del PRIVATE.key |
del PUBLIC.pem |
%OPENSSL% req -newkey rsa:2048 -sha256 -nodes -keyout PRIVATE.key -x509 -days 365 -out PUBLIC.pem -subj ""/C=DE/ST=Bavaria/L=Munich/O=FooBot/CN=foo.spdns.de"" |
pause",54.9333333333,156,0.7839805825 |
183,d01aece94a127152eda09f63f5fd0e3baff08f10,851,bat,Batchfile,windows/dns_reset.bat,stargieg/KadNode,4dfe5be17d18911becddb8598e8ca44b08624367,['MIT'],335.0,2015-01-01T23:07:28.000Z,2022-03-12T17:42:13.000Z,windows/dns_reset.bat,stargieg/KadNode,4dfe5be17d18911becddb8598e8ca44b08624367,['MIT'],68.0,2015-01-04T02:57:17.000Z,2021-12-10T17:32:54.000Z,windows/dns_reset.bat,stargieg/KadNode,4dfe5be17d18911becddb8598e8ca44b08624367,['MIT'],88.0,2015-01-01T22:43:33.000Z,2022-03-05T17:50:19.000Z,":: Reset DNS settings of all interfaces to DHCP. |
:: This script is executed by KadNode. |
@ECHO OFF |
SETLOCAL EnableDelayedExpansion |
FOR /F ""tokens=* delims=:"" %%a IN ('IPCONFIG ^| FIND /I ""ETHERNET ADAPTER""') DO ( |
SET adapterName=%%a |
REM Removes ""Ethernet adapter"" from the front of the adapter name |
SET adapterName=!adapterName:~17! |
REM Removes the colon from the end of the adapter name |
SET adapterName=!adapterName:~0,-1! |
set skip=0 |
ECHO.!adapterName!| FIND /I ""vpn"">Nul && ( set skip=1 ) |
ECHO.!adapterName!| FIND /I ""virtual"">Nul && ( set skip=1 ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.