Skip to content

Instantly share code, notes, and snippets.

View readloud's full-sized avatar

読み上げ readloud

View GitHub Profile
@readloud
readloud / RTMP.txt
Last active February 26, 2022 16:42
RTMP is a TCP-based protocol which maintains persistent connections and allows low-latency communication.
### Install NginX
~~~
~# sudo apt install nginx
~~~
### Install rtmp-module
~~~
~# sudo apt install libnginx-mod-rtmp
~~~
### Konfigurasi NginX
~~~
@readloud
readloud / kali-bashrc.bashrc
Created February 26, 2022 16:22
this is the bashrc file for kali linux you can use it to costumise your terminal on any linux devise like kali terminal useing this .bashrc file
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@readloud
readloud / ForceEffectMode.reg
Created March 17, 2022 04:02
ForceEffectMode - Transparent Taskbar Effect Windows 11
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm]
"AnimationAttributionEnabled"=dword:00000001
"AnimationAttributionHashingEnabled"=dword:00000001
"GradientWhitePixelGPUBlacklist"="10DE:0245 10DE:009d 10DE:029e 10DE:029d 10DE:029f 10DE:029c 10DE:029b 10DE:029a 10DE:01de 10DE:01dc 10DE:01d7 10DE:01da 10DE:01db 10DE:039e 10DE:039c 10DE:039a 10DE:019e 10DE:019d 10DE:040f 10DE:040a 10DE:040e 10DE:040d 10DE:040c 10DE:040b 10DE:042f 10DE:042d 10DE:042a 10DE:042b 10DE:0429 10DE:061a 10DE:0619 10DE:061b 10DE:061d 10DE:061c 10DE:061e 10DE:061f 10DE:0638 10DE:063a 10DE:0658 10DE:0659 10DE:065a 10DE:065c 10DE:06fd 10DE:06f8 10DE:06fa 10DE:06f9 10DE:06fb 10DE:06ea 10DE:06eb 10DE:06dd 10DE:06d9 10DE:06d8 10DE:06dc 10DE:109b 10DE:06da 10DE:109a 10DE:0e3a 10DE:0e3b 10DE:0dd8 10DE:0dda 10DE:0df8 10DE:0dfa 10DE:0df9 10DE:1057 10DE:11bb 10DE:11b4 10DE:11ba 10DE:11be 10DE:11b6 10DE:11bd 10DE:11b7 10DE:11bc 10DE:11b8 10DE:11fa 10DE:11fc 10DE:0fff 10DE:0ffe 10DE:0ff9 10DE:0ff3 10DE:0ffa 10D
@readloud
readloud / stdin.pl
Created March 17, 2022 04:12
Perl Stdin -- Reading User Input in Perl
#!/usr/bin/perl
$ENV{LC_ALL} = 'C'; $0='bash'; $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:'.$ENV{'PATH'}; $ttime1=time;
@mm=("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); my($s,$m,$h,$dm,$mm,$y,$wd,$yd,$is)=localtime(time);
$n_date="$mm[$mm] ".sprintf("%2d %02d",$dm,$h); $n_date .= "\|$mm[$mm] ".sprintf("%2d %02d",$dm,$h-1) if ($m<5);
$_=`id`; if (~m/uid\=\d*?\((.*?)\)/) {$u=$1,push(@bad_str,$1)};
if ($ENV{SSH_CLIENT} =~ /.*?(\d*\.\d*\.\d*\.\d*) /) {$ip=$1;push(@bad_str,$1)}
if ($ENV{SSH_CONNECTION} =~ /.*?(\d*\.\d*\.\d*\.\d*) /) {$ip=$1;push(@bad_str,$1)}
if ($ENV{SSH2_CLIENT} =~ /.*?(\d*\.\d*\.\d*\.\d*) /) {$ip=$1;push(@bad_str,$1)}
if ($ENV{REMOTEHOST} =~ /(\d*\.\d*\.\d*\.\d*)/) {$ip=$1;push(@bad_str,$1)}
@readloud
readloud / devcon.js
Last active January 10, 2023 12:22
Remove Non Present Devices Driver Using Javascript
/*
* Remove Non-present Devices using DevCon
* =======================================
*
* removedevices.js is a script to automatically remove all non-present (i.e.
* disconnected) devices from a Windows computer system. This can often be
* useful to prevent misbehaving and/or unnecessary drivers from being loaded.
*
* WARNING
* -------
@readloud
readloud / Temporary File Cleaner.cmd
Created March 17, 2022 04:26
Temp File Cleaner is designed to quickly remove as many unnecessary files as possible from a hard drive.
@echo off
title Cleaner 1.2
echo.
For %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO for /f "tokens=4,6*" %%k in ('vol %%I: 2^>nul^|find "drive"') do echo %%k - %%l %%m
echo.
:dr
SET DRVL=C
set /p DRVL=Enter a Drive Letter Only ( Example. C ):
set confd=y
set conffile=
@readloud
readloud / SQLmap tamper scripts
Created March 17, 2022 05:04
General tamper option and tamper's list
General tamper option and tamper's list
```
tamper=name_of_the_tamper
```
| Tamper | Description |
| --- | --- |
|apostrophemask.py | Replaces apostrophe character with its UTF-8 full width counterpart |
|apostrophenullencode.py | Replaces apostrophe character with its illegal double unicode counterpart|
|appendnullbyte.py | Appends encoded NULL byte character at the end of payload |
|base64encode.py | Base64 all characters in a given payload |
@readloud
readloud / Python Package Upgrade Checklist.md
Last active March 28, 2022 02:31
How to Update All Python Packages

How to Update All Python Packages

With Python, the best practice of pinning all the packages in an environment at a specific version ensures that the environment can be reproduced months or even years later. 

  • Pinned packages in a requirements.txt file are denoted by ==. For example,  requests==2.21.0. Pinned packages should never be updated except for a very good reason, such as to fix a critical bug or vulnerability.
  • Conversely, unpinned packages are typically denoted by >=, which indicates that the package can be replaced by a later version. Unpinned packages are more common in development environments, where the latest version can offer bug fixes, security patches and even new functionality.

As packages age, many of them are likely to have vulnerabilities and bugs logged against them. In order to maintain the security and performance of your application, you’ll need to update these packages to a newer version that fixes the issue. 

The pip package manager can be used to update one or more package

wireshark "couldn't run /usr/bin/dumpcap in child process"
Open a terminal by pressing Ctrl+Alt+T and type the following commands:
#sudo dpkg-reconfigure wireshark-common
press the right arrow and enter for yes
#sudo chmod +x /usr/bin/dumpcap
you should now be able to run it without root and you will be able to capture.
@readloud
readloud / Fix OpenVAS – command not found
Created September 29, 2022 04:30
OpenVAS – command not found in Kali Linux
Similar questions
~~~
bash: openvas-start: command not found
bash: openvas-setup: command not found
bash: openvas-feed-update: command not found
sudo apt install openvas can’t install
~~~
## The Issue
When executing