file_path stringclasses 8
values | file_content stringclasses 8
values |
|---|---|
data/toolenv/tools/Customized/cve_cpe/api.py | def searchxxxcxxxvxxxe(cpexxxname = None, cvexxxid = None, cvssxxxv2xxxmetrics = None, cvssxxxv2xxxseverity = None, cvssxxxv3xxxmetrics = None, cvssxxxv3xxxseverity = None, cwexxxid = None, hasxxxcertxxxalerts = None, hasxxxcertxxxnotes = None, hasxxxoval = None, isxxxvulnerable = None, keywordxxxexactxxxmatch = None, ... |
data/toolenv/tools/Customized/emailrep/api.py | def emailrep_post(email: str):
"""
Query an email address
Parameters
email (string, required): Email address being queried
"""
return "Is successful."
def emailrep_report(email: str, key: str):
"""
Reports an email address. Date of malicious activity defaults to the current time unless otherwise specified... |
data/toolenv/tools/Customized/virustotal/api.py | def vt_get_dns_resolution_object(id: str, x_apikey: str):
"""
This endpoint retrieves a Resolution object by its ID. A resolution object ID is made by appending the IP and the domain it resolves to together.
Domain-IP resolutions. Resolution objects include the following attributes:
date: <integer> dat... |
data/toolenv/tools/Customized/cve_cpe.json | {
"tool_description": "cve_cpe",
"tool_name": "cve_cpe",
"title": "cve_cpe",
"standardized_name": "cve_cpe",
"api_list": [
{
"name": "searchxxxcxxxvxxxe",
"url": "",
"description": "\n Build and send GET request then return list of objects containing a ... |
data/toolenv/tools/Customized/emailrep.json | {
"tool_description": "emailrep",
"tool_name": "emailrep",
"title": "emailrep",
"standardized_name": "emailrep",
"api_list": [
{
"name": "emailrep_post",
"url": "",
"description": "\nQuery an email address\n\nParameters\nemail (string, required): Email add... |
data/toolenv/tools/Customized/virustotal.json | {
"tool_description": "virustotal",
"tool_name": "virustotal",
"title": "virustotal",
"standardized_name": "virustotal",
"api_list": [
{
"name": "vt_get_dns_resolution_object",
"url": "",
"description": "\n This endpoint retrieves a Resolution object by... |
toolbench/inference/Downstream_tasks/rapidapi.py | # pylint: disable-all
"""
This is an exact copy of https://github.com/OpenBMB/ToolBench/blob/master/toolbench/inference/Downstream_tasks/rapidapi.py
except the output results are written to `results.txt`. (see line 688)
"""
import re
import os
import json
import time
import requests
from tqdm import tqdm
from termcolor... |
toolbench/inference/server.py | # pylint: disable-all
"""
This is an exact copy of https://github.com/OpenBMB/ToolBench/blob/master/toolbench/inference/server.py
except the results are output to `results.txt` (see line 109)
"""
from pydantic import BaseModel
import json
import os
from typing import Union
from toolbench.utils import standardize, chang... |
README.md exists but content is empty.
- Downloads last month
- 4