This file contains hidden or 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 React from 'react'; | |
| const Functionname = () => { | |
| const name = "@frikkylikeme" | |
| const url = "https://medium.com | |
| return ( | |
| <div> | |
| <App name={name} url={url} {...props} /> | |
| </div> | |
| ); |
This file contains hidden or 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 React, {useState} from 'react'; | |
| const App = props => { | |
| const name = "@frikkylikeme" | |
| const url = "https://medium.com" | |
| return ( | |
| <div> | |
| <Functionname url={url} name={name} {...props} /> | |
| </div> |
This file contains hidden or 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
| 'AlertCreation', | |
| 'AlertUpdate', | |
| 'CaseArtifactCreation', | |
| 'CaseArtifactJobCreation', | |
| 'CaseArtifactJobUpdate', | |
| 'CaseArtifactJobUpdate', | |
| 'CaseArtifactUpdate', | |
| 'CaseCreation', | |
| 'CaseTaskCreation', | |
| 'CaseTaskLogCreation', |
This file contains hidden or 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
| { | |
| "actions": [ | |
| { | |
| "app_name": "thehive", | |
| "app_version": "0.0.3", | |
| "errors": [ | |
| "Parameter 'cur_id' not found in workflow but is required in 'thehive' API.", | |
| "Parameter 'field' not found in workflow but is required in 'thehive' API.", | |
| "Parameter 'data' not found in workflow but is required in 'thehive' API." | |
| ], |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import uuid | |
| import time | |
| from thehive4py.api import TheHiveApi | |
| from thehive4py.models import Alert, AlertArtifact, CustomFieldHelper | |
| api = TheHiveApi('http://127.0.0.1:9000', 'CHANGEME :)') | |
| artifacts = [] |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "io/ioutil" | |
| "io" | |
| "context" | |
| "bytes" | |
| "os" | |
| "archive/tar" |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "fmt" | |
| "context" | |
| "github.com/docker/docker/api/types" | |
| "github.com/docker/docker/client" | |
| ) |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "context" | |
| "fmt" | |
| "github.com/docker/docker/client" | |
| natting "github.com/docker/go-connections/nat" | |
| "github.com/docker/docker/api/types/container" |
This file contains hidden or 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 requests | |
| def screenshot(username, password, takedownurl, proxies): | |
| if not isinstance(proxies, list) or len(proxies) == 0: | |
| print("Proxies should be a list of countrynames e.g. [us,en]") | |
| return "" | |
| if len(username) == 0 or len(password) == 0: | |
| print("Username and password has to be defined") | |
| return "" |
This file contains hidden or 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
| package user | |
| import ( | |
| "context" | |
| "errors" | |
| "log" | |
| "time" | |
| "cloud.google.com/go/firestore" | |
| ) |
OlderNewer