Skip to content

Instantly share code, notes, and snippets.

@navicore
navicore / install_massca_on_ubuntun.sh
Last active May 5, 2024 01:20
install masscan on ubuntu
# Ubuntu
sudo apt-get -y install git gcc make libpcap-dev
git clone https://github.com/robertdavidgraham/masscan
cd masscan/
make
sudo make install
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created May 5, 2024 01:14
klayout v0.29.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-4052470390-3226813249-2593596705-1000</user>
<keys>
<key installerType="Unknown" displayName="Klayout - Layout Viewer And Editor" displayVersion="0.29.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KLayout</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\KLayout\klayout-uninstall.exe]]></UninstallString>
@wh0th3h3llam1
wh0th3h3llam1 / colorful_output.bat
Created October 15, 2021 13:36
Colorful output on Python/Bash/Batch/PowerShell
@echo off
echo Gray
echo Red
echo Green
echo Yellow
echo Blue
echo Magenta
echo Cyan
echo White
@Vaduz
Vaduz / gist:5fbfd6ac651c371148bd9dc3a7a329b3
Created August 28, 2016 15:04
recursively convert iso file to mkv by using handbrakecli in windows
gci . *.ISO -R | ForEach-Object { $input = $_.FullName; $newfile = "E:\ISOs\" + $_.BaseName + ".mkv"; &"C:\Program Files\HandBrake\HandBrakeCLI.exe" -i "$input" -o "$newfile" --preset "High Profile" }
@ondrek
ondrek / gist:7413434
Created November 11, 2013 13:48
Smallest Base64 image
data:image/gif;base64,R0lGODlhAQABAAAAACw=
@naosim
naosim / renameGitBranch.md
Last active May 5, 2024 01:14
ローカルとリモートのブランチ名を変更する

#ローカルとリモートのブランチ名を変更する

以下、ブランチ名を hoge から foo に変更する例

  • ローカルのブランチ名変更
git branch -m hoge foo
  • リモートのブランチを消す
package io.zealab.kvaft.util;
import lombok.NonNull;
import java.util.Arrays;
/**
* Base N codec
*
* @author leonwong
@dario-zubovic
dario-zubovic / SimplexNoise2D.hlsl
Last active May 5, 2024 01:07
HLSL Simplex noise 2D
// based on https://github.com/keijiro/NoiseShader/blob/master/Assets/GLSL/SimplexNoise2D.glsl
// which itself is modification of https://github.com/ashima/webgl-noise/blob/master/src/noise3D.glsl
//
// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
// Distributed under the MIT License. See LICENSE file.
// https://github.com/keijiro/NoiseShader/blob/master/LICENSE
// https://github.com/ashima/webgl-noise
// https://github.com/stegu/webgl-noise
float3 mod289(float3 x) {
@comefrombottom
comefrombottom / Main.cpp
Created May 5, 2024 00:58
電撃エッフェクトのhlslシェーダサンプル(Siv3D)
# include <Siv3D.hpp>
struct Electrification {
Float2 scale;
float time;
float speed;
uint32 octaves;
};
void Main() {
@tothi
tothi / minimal-defender-bypass.profile
Last active May 5, 2024 01:05
Minimal Cobalt Strike C2 Profile for Bypassing Defender
# in addition to the profile, a stage0 loader is also required (default generated payloads are caught by signatures)
# as stage0, remote injecting a thread into a suspended process works
set host_stage "false";
set useragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62";
set sleeptime "10000";
stage {
set allocator "MapViewOfFile";
set name "notevil.dll";