Skip to content

Instantly share code, notes, and snippets.

vagrant up dc wef win10
Bringing machine 'dc' up with 'virtualbox' provider...
Bringing machine 'wef' up with 'virtualbox' provider...
Bringing machine 'win10' up with 'virtualbox' provider...
==> dc: Clearing any previously set forwarded ports...
==> dc: Fixed port collision for 22 => 2222. Now on port 2200.
==> dc: Clearing any previously set network interfaces...
==> dc: Preparing network interfaces based on configuration...
dc: Adapter 1: nat
dc: Adapter 2: hostonly
$ vagrant up logger
Bringing machine 'logger' up with 'virtualbox' provider...
==> logger: Importing base box 'bento/ubuntu-18.04'...
==> logger: Matching MAC address for NAT networking...
==> logger: Checking if box 'bento/ubuntu-18.04' version '202002.14.0' is up to date...
==> logger: Setting the name of the VM: logger
==> logger: Clearing any previously set network interfaces...
==> logger: Preparing network interfaces based on configuration...
logger: Adapter 1: nat
Bringing machine 'logger' up with 'virtualbox' provider...
==> logger: Box 'bento/ubuntu-18.04' could not be found. Attempting to find and install...
logger: Box Provider: virtualbox
logger: Box Version: >= 0
==> logger: Loading metadata for box 'bento/ubuntu-18.04'
logger: URL: https://vagrantcloud.com/bento/ubuntu-18.04
==> logger: Adding box 'bento/ubuntu-18.04' (v202002.14.0) for provider: virtualbox
logger: Downloading: https://vagrantcloud.com/bento/boxes/ubuntu-18.04/versions/202002.14.0/providers/virtualbox.box
 logger: Progress: 0% (Rate: 0*/s, Estimated time remaining: --:--:--)
@2xyo
2xyo / test.md
Created February 13, 2020 14:35

Hello World

@2xyo
2xyo / create.py
Last active January 28, 2020 12:47
testcase
# coding: utf-8
import datetime
from dateutil.parser import parse
from pprint import pprint
from pycti import OpenCTIApiClient
api_url = "https://demo.opencti.io"
api_token = "609caced-7610-4c84-80b4-f3a380d1939b"
opencti_api_client = OpenCTIApiClient(api_url, api_token)
@2xyo
2xyo / 00_OpenCTI_install_Ubuntu.sh
Last active January 30, 2020 19:50
OpenCTI Ubuntu 18.04 - Dev VM 2.1.13
# Fresh Ubuntu 18.04 with Virtualbox 6.1.2
# Download https://ubuntu.com/download/desktop/thank-you?version=18.04.3&architecture=amd64 - ubuntu-18.04.3-desktop-amd64.iso
## Config
### 4 vCPU
### 4Go RAM
### 64Mo graphic card
### 50Go HDD
##
###Boot CD
@2xyo
2xyo / docker.sh
Last active January 14, 2020 20:46
OpenCTI - kali
apt autoremove -y
apt purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") )
apt update && apt upgrade -y
apt remove docker docker-engine docker.io containerd runc
apt install \
apt-transport-https \
ca-certificates \
curl \
@2xyo
2xyo / setup-volatility3.py
Created October 17, 2019 06:34
PyPi volatility3 and volumetric
import setuptools
setuptools.setup(
name="volatility3",
version="0.0.2",
author="volatilityfoundation",
author_email="info@volatilityfoundation.org",
description="Volatility 3: The volatile memory extraction framework. DUMMY PACKAGE. DO NOT USE.",
long_description="This is a dummy package. The official project website is available at https://github.com/volatilityfoundation/volatility3",
url="https://github.com/volatilityfoundation/volatility3",
@2xyo
2xyo / docker.sh
Last active December 13, 2017 12:46
Docker proxy
docker build \
--build-arg http_proxy=$http_proxy \
--build-arg HTTP_PROXY=$http_proxy \
--build-arg https_proxy=$https_proxy \
--build-arg HTTPS_PROXY=$https_proxy \
--build-arg no_proxy=$no_proxy \
--build-arg NO_PROXY=$no_proxy \
-t tag:version .
@2xyo
2xyo / ping.json
Created November 24, 2017 21:06
Unfetter analytics - ping
{
"_index": "sysmon-2017.11.24",
"_type": "sysmon_process",
"_id": "AV_v1-kZAnLqT_pijW1u",
"_score": 1,
"_source": {
"Task": 1,
"ParentImage": "C:\\Windows\\System32\\cmd.exe",
"LogonGuid": "{6B166207-852C-5A18-0000-00200D6D0100}",
"EventType": "INFO",