Skip to content

Instantly share code, notes, and snippets.

View Yuma-Tsushima07's full-sized avatar
🟣
Purple Viruses

Yuma Yuma-Tsushima07

🟣
Purple Viruses
View GitHub Profile
@kavishkagihan
kavishkagihan / htb-setup.sh
Last active February 16, 2023 17:59
Automated tmux session I use when playing htb boxes
#!/bin/bash
HTB_DATA_DIR=~/Documents/HTB
if [[ $1 ]]; then
a=1
else
echo "Usage: $0 <Box name>"
exit 1
fi
@kavishkagihan
kavishkagihan / aliases.md
Last active May 3, 2026 12:20
Useful aliases for CTF players #aliases #bash #zsh #linux #CTF #Hackthebox
  • To easily list files giving more information - ll
alias ll='ls -alhF'
  • First, install xclip in your system. This will let you copy output of a command directly to your clipboard. - cat file.txt|c
alias c='xclip -selection clipboard'
@Yuma-Tsushima07
Yuma-Tsushima07 / README.md
Last active April 19, 2024 07:18
How to Start making a discord bot?

How to start making a discord bot?

Seeking people who made custom discord bots? Liking their really cool commands and have no idea how they did it? Well no need to fear! This simple tutorial will show you how to make a discord bot in no time!

Intro

  • You will need a Code Editor. I use VSC, some people prefer Sublime Text .
  • I will be using Node.js LTS VERSION to run the bot and install the dependencies.
  • Understanding of Javascript. If you don't have that then click --> HERE
  • Understanding of JSON. If you don't have that then click --> HERE
@Yuma-Tsushima07
Yuma-Tsushima07 / Jinja2-SSTI.md
Last active July 24, 2022 08:21
Jinja2- SSTI

Jinja2 SSTI

Jinja2 - Basic injection

{{4*4}}[[5*5]]
{{7*'7'}} would result in 7777777
{{config.items()}}

Jinja2 - Template format

@Yuma-Tsushima07
Yuma-Tsushima07 / Gist.md
Created February 27, 2021 19:18
Gist Meme
 // This is gist. 
var gist = this;
// There are many like it, but this one is mine. 
gists //=>  [...]
i.owns(gist) //=> true
// It is my life. 
gist === life //=> true
// I must master it as I must master my life. 
i.mustMaster(gist) &amp;&amp; i.mustMaster(i.life) //=&gt; true
@Yuma-Tsushima07
Yuma-Tsushima07 / Metasploit.md
Last active March 24, 2026 10:31
How to Install Metasploit on Linux?
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
 
 
cd /tmp
 
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall