The test application would trigger all Syscalls one by one, evaluating that the audit record contains all the expected parameters, e.g the arguments, valid argument types, return values etc. The testing will be done for various success and failure modes, with cross checking for appropriate error codes in case of failure mode.
The test application would trigger all Syscalls one by one, evaluating that the audit record contains all the expected parameters, e.g the arguments, valid argument types, return values etc. The testing will be done for various success and failure modes, with cross checking for appropriate error codes in case of failure mode.
The test application would trigger all Syscalls one by one, evaluating that the audit record contains all the expected parameters, e.g the arguments, valid argument types, return values etc. The testing will be done for various success and failure modes, with cross checking for appropriate error codes in case of failure mode.
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
BasedOnStyle: LLVM | |
IndentWidth: 8 | |
UseTab: Always | |
BreakBeforeBraces: Linux | |
AllowShortIfStatementsOnASingleLine: false | |
IndentCaseLabels: false | |
ColumnLimit: 0 | |
AlignTrailingComments: true | |
SpacesBeforeTrailingComments: 2 |
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
import json | |
import time | |
import requests | |
from urllib.parse import urlencode, quote_plus | |
url = 'http://[SECRET]:8080/' | |
cliff_version = 'CLIFF-2.3.0' | |
text = 'There is an ongoing match at the Wembley Stadium in Britain for USA' | |
payload = {'q': text} |
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
from multiprocessing import Process, Manager | |
from fasttext import FastVector | |
# Returns a sample fastVector object | |
def createFastVector(): | |
# Create for English vector-wiki | |
en_dict = FastVector(vector_file='wiki.en.vec') | |
return en_dict | |
def serverFunc(vector): |
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
import sys, csv, json, time, requests | |
from urllib.parse import urlencode, quote_plus | |
url = 'http://[SECRET]:8080/' | |
cliff_version = 'CLIFF-2.3.0' | |
malformed = 0 | |
with open("data1.txt", "r") as file, open("hackcave2.csv", "w+") as csvf: | |
csvfile = csv.writer(csvf) | |
csvfile.writerow(['Index', 'Response time', 'Computation Time', 'Malformed']) |
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
type PrivateKey = userlib.PrivateKey | |
type User_r struct { | |
User struct { | |
Username string | |
Password string | |
Privkey PrivateKey | |
A2ksalt string // To be used as a salt for Argon KDF | |
} | |
Signature []byte |