Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
declare -r LINE_NUMBER_PANE_WIDTH=3 | |
declare -r LINE_NUMBER_UPDATE_DELAY=0.1 | |
declare -r COLOR_NUMBERS_RGB="101;112;161" | |
declare -r COLOR_ACTIVE_NUMBER_RGB="255;158;100" | |
open_line_number_split(){ | |
local self_path=$(realpath $0) | |
local pane_id=$(tmux display-message -pF "#{pane_id}") |
This collection is limited to only include the reports that were submitted as security vulnerabilities to the curl bug-bounty program on Hackerone.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import regex | |
from typing import List | |
# Define constants | |
MAX_HEADING_LENGTH = 7 | |
MAX_HEADING_CONTENT_LENGTH = 200 | |
MAX_HEADING_UNDERLINE_LENGTH = 200 | |
MAX_HTML_HEADING_ATTRIBUTES_LENGTH = 100 | |
MAX_LIST_ITEM_LENGTH = 200 | |
MAX_NESTED_LIST_ITEMS = 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUESTION 1 | |
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? | |
A. /etc/keys | |
B. /proc/keys | |
C. /etc/inittab | |
D. /proc/inittab | |
E. /etc/reboot | |
QUESTION 2 | |
Which of the following information is stored within the BIOS? (Choose TWO correct answers.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import re | |
import exifread | |
import requests | |
import tldextract | |
import webbrowser | |
import whois | |
from datetime import datetime | |
def print_logo(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Author: @mimiru | |
@echo off | |
setlocal | |
:: Determine the path to floorp.exe | |
set "FLOORP_PATH=%~dp0floorp.exe" | |
:: Convert the path to use double backslashes for the registry | |
set "FLOORP_PATH=%FLOORP_PATH:\=\\%" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Host.Runspace.LanguageMode | |
Get-AuthenticodeSignature -FilePath C:\Demo\bypass_test.psm1 | |
Get-AuthenticodeSignature -FilePath C:\Demo\notepad_backdoored.exe | |
# Try to execute the script. Add-Type will fail. | |
Import-Module C:\Demo\bypass_test.psm1 | |
$VerifyHashFunc = 'HKLM:\SOFTWARE\Microsoft\Cryptography' + | |
'\OID\EncodingType 0\CryptSIPDllVerifyIndirectData' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP | |
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K | |
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP | |
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S | |
SFZHH-2Y246-Z483L-EU92B-LNYUA | |
GSZVS-5W4WA-T9F2E-L3XUX-68473 | |
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS | |
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4 | |
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU | |
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS |
NewerOlder