Skip to content

Instantly share code, notes, and snippets.

View Wapiti08's full-sized avatar
🎯
Focusing

Wapiti Wapiti08

🎯
Focusing
View GitHub Profile
@Wapiti08
Wapiti08 / matesploit3.md
Created April 9, 2020 05:10
How to download matesploit3 system

metasploitable3-download-instructions

This is the instruction on how to download the metasploitable3 successfully

References include:

Additional information

@Wapiti08
Wapiti08 / git_practice.md
Last active March 17, 2022 16:36
Git_Usage_Tips

git_practice

My notebook for git tutorial

1.Delete a branch

show the current working branch:

git branch

show all the branches:

@Wapiti08
Wapiti08 / cuckoo_instructions.md
Created April 9, 2020 05:16
cuckoo instructions on download and usage

cuckoo-download-instructions

Coming from my article on medium Cuckoo Configuration

This is the article about how to download and deploy the cuckoo for malware analysis. It took me around two months to figure it out(only with weekends of course). The host machine is win10 with ubuntu WSL and the guset machine is win7X64.

Attention:

When you download the python, make sure it is v2X. Cuckoo can only be run with python2X. So when you download any libraries with pip, make sure the pip is version2.

The commands to check the version:

@Wapiti08
Wapiti08 / airflow_instructions.md
Created April 9, 2020 05:18
airflow_download instructions

airflow_complete_tutorial

The right way to initialize the airflow from the beginning

1.build your workplace

  mkdir xx/airflow_test

2. build the virtual environment

@Wapiti08
Wapiti08 / zeek.md
Last active May 28, 2020 08:18
zeek_download_instructions

1 Download zeek correctly.

Step1 - Download the dependencies!

According to the installing instructions on zeek.

Step2 - Setting the environment!

Before you go through the ./configure step, setting the path first. If not, you won't be able to use it normally.

@Wapiti08
Wapiti08 / argus.md
Created April 9, 2020 05:22
arugs_usage_cases

1. Download

Download the server side:

sudo apt-get install argus-server

And open the daemon then:

sudo argus -P 561 -d -w test.argus

Then leave it.

@Wapiti08
Wapiti08 / linux_trouble.md
Last active November 16, 2020 21:23
Linux_Trouble_Shouting

Linux-trouble-shouting

Full Screen:

# if the auto pop up does not work, try
sudo sh ./VboxLinuxAdditions.run

1. Kill the processing with specified names:

@Wapiti08
Wapiti08 / pipelines.py
Last active April 9, 2020 05:30
ml_pipeline
from sklearn.linear_model import Lasso
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import MinMaxScaler
from regression_model.processing import preprocessors
from regression_model.processing import features
from regression_model.config import config
import logging
@Wapiti08
Wapiti08 / callback.py
Last active May 6, 2020 08:38
callback_usage on early stop
import tensorflow as tf
mnist = tf.keras.datasets.mnist
(x_train, y_train),(x_test, y_test) = mnist.load_data()
# this is the class can stop the epochs when the condition is acceptable
class myCallback(tf.keras.callbacks.Callback):
def on_epoch_end(self, epoch,logs={}):
@Wapiti08
Wapiti08 / docker.md
Last active February 25, 2021 12:48
Docker Usage Examples

1. Check the live docker instances:

docker ps

2. Stop an instance with the container ID:

docker stop 71f1db29d705 

3. Show all the docker images: