G
YouTube TikTok Games
Skip to content

Instantly share code, notes, and snippets.

View SegoCode's full-sized avatar
⚠️
Busy, I may be take a while to fix bugs on my repos.

SegoCode SegoCode

⚠️
Busy, I may be take a while to fix bugs on my repos.
View GitHub Profile
{"spots":[{"id":"0018f52a-0a0d-43b0-a6d7-db07617d34c7","name":"子猫の部屋Live@笑にゃんこ王国(秩父) [Cat live]","lat":35.992,"lng":139.085,"category":"animal","channel_id":"UCwSNIL0FG4ucGM3AUW3tV0w","channel_title":"笑にゃんこ王国チャンネル","video_id":"9Lrpso2gmxU","is_live":false,"last_live_at":"2026-06-19T06:01:24.257+00:00","concurrent_viewers":null},{"id":"00344c8f-7c77-4194-83d3-683565cf4d87","name":"【LIVE】京都 随心院ライブ中継カメラ/Zuishinin Temple, Kyoto Live camera","lat":34.955,"lng":135.82,"category":"landmark","channel_id":"UCyVf8FIJ-kFpzUadi7_tgZQ","channel_title":"京都観光混雑状況Live","video_id":"5Ica9fIP_Ng","is_live":true,"last_live_at":"2026-08-17T09:00:26.578+00:00","concurrent_viewers":null},{"id":"005e5b09-52c0-4786-9b1e-c48445e093a6","name":"【#ライブカメラ】 情報カメラ #JR札幌駅 #北海道","lat":43.05545,"lng":141.341095,"category":"train","channel_id":"UC9YtvuF-DrWVieSt4OqoY3A","channel_title":"HBC 公式YouTube","video_id":"SiNdj5dEq_8","is_live":true,"last_live_at":"2026-08-17T05:01:17.272+00:00","concurrent_viewers":2},{"id":"00852504-684a-46c8-94ae-e
#!/bin/bash
# Helper functions
print_section() {
echo ""
echo "====================================="
echo "$1"
echo "====================================="
}
@SegoCode
SegoCode / filter.txt
Created October 18, 2023 08:49
Youtube adblock uBlock origin filter
youtube.com##body:style(overflow-y:auto!important; max-height:none!important; width:auto!important; position:static!important;)
youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
youtube.com##ytd-popup-container:remove()
@SegoCode
SegoCode / GoFinder.go
Last active January 10, 2022 01:47
Admin panel finder in golang
package main
import (
"bufio"
"fmt"
"net/http"
"net/url"
"os"
"sync"
)
param (
[string]$list = "AdminList.txt",
[Parameter(Mandatory=$true)][string]$url
)
if(-NOT ([uri]$url).IsAbsoluteUri){
Write-Host "URL IS INVALID " -ForegroundColor red
Write-Host "Example: AdminFinder.ps1 -url http://www.google.com " -ForegroundColor red
exit
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
/*
_____ _ _ _____ _ _
@SegoCode
SegoCode / Pack.exe
Last active February 11, 2020 18:05
Strings from Pack.exe Binary
File pos Mem pos ID Text
======== ======= == ====
00000000004D 00000040004D 0 !This program cannot be run in DOS mode.
000000000178 000000400178 0 .text
0000000001A0 0000004001A0 0 .data
0000000002DF 0000004002DF 0 B/109
000000000307 000000400307 0 B.idata
000000000330 000000400330 0 .symtab
@SegoCode
SegoCode / Hide.ps1
Last active August 12, 2019 07:34
Hide console from powershell script
#----------------------HIDE SCRIPT------------------------------#
Add-Type -Name Window -Namespace Console -MemberDefinition '
[DllImport("Kernel32.dll")]
public static extern IntPtr GetConsoleWindow();
[DllImport("user32.dll")]
public static extern bool ShowWindow(IntPtr hWnd, Int32 nCmdShow);
'
@SegoCode
SegoCode / HoneyPot.java
Created May 29, 2019 00:46
Java file honeypot for ransomware
public class HoneyPot {
public static void main(String[] args) throws IOException, InterruptedException {
JOptionPane.showMessageDialog(null, "Honeypot created,\nMonitoring file");
Path path = FileSystems.getDefault().getPath(System.getProperty("user.home"), "Documents");
File file = new File(path + "\\Password.docx");
file.createNewFile();
WatchService watchService = FileSystems.getDefault().newWatchService();
WatchKey watchKey = path.register(watchService, StandardWatchEventKinds.ENTRY_DELETE);