Skip to content

Instantly share code, notes, and snippets.

View wyyder's full-sized avatar
🎯
Focusing

wyyder

🎯
Focusing
View GitHub Profile
((JavascriptExecutor)driver).executeScript("arguments[0].style.border='3px solid red'", element);
@wyyder
wyyder / font-family
Last active February 11, 2020 04:08
font-family: "Fira Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-family: 'Abel', sans-serif;
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()-_=+[{]}\|;:'\"/?.>,<"
# ------------- SCRIPT ------------- #
#!/bin/bash
echo
echo "# arguments called with ----> ${@} "
echo "# \$1 ----------------------> $1 "
echo "# \$2 ----------------------> $2 "
echo "# path to me ---------------> ${0} "
echo "# parent path --------------> ${0%/*} "
# create or add this to ur ~/.tmux.conf
#set prefix
set -g prefix C-a
bind C-a send-prefix
unbind C-b
set -g history-limit 100000
set -g allow-rename off
@wyyder
wyyder / Create new user in Linux
Created January 25, 2020 07:19
To create a new user with sudo permission in Kali Linux
# Add user.
useradd -m username
# -m creates a home directory for the user.
# Set Password.
passwd username
# Set user group to sudo.
usermod -a -G sudo username
# -a option to add and ‘-G sudo’ means to add the user to the sudo group.
#include<stdio.h>
#include<stdlib.h>
int main()
{
system("/bin/bash");
}
PS1="\[\033[01;32m\] wyyder@ctf >>> \[\033[00m\]"
%0a
%0d
%0d%0a
%0d%0a%09
%0d%0a+
%0d%20
%0d+
%E5%98%8A%E5%98%8D
%E5%98%8A%E5%98%8D%E5%98%8A%E5%98%8D
\r