1. ES6 .includes()
:
var S = "fullweb";
S.includes("web");
2. RegExp .search()
:
#!/usr/bin/env bash | |
# ensure freetype is updated, important to avoid error: | |
# undefined symbol: FT_Get_Var_Blend_Coordinates | |
sudo add-apt-repository ppa:glasen/freetype2 | |
sudo apt update && sudo apt install freetype2-demos | |
# kitty installer script from https://sw.kovidgoyal.net/kitty/binary.html#manually-installing | |
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin |
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme", | |
"draw_white_space": "all", | |
"font_face": "Fira Mono", | |
"font_size": 20, | |
"tab_size": 2, | |
"theme": "Brogrammer.sublime-theme", | |
"translate_tabs_to_spaces": true, | |
"trim_automatic_white_space": true, |
function getUserId(fbid) { | |
return fbid.split(':')[1]; | |
} | |
requireLazy( | |
['MercuryTypingReceiver', 'MercuryThreads', 'ShortProfiles'], | |
(MercuryTypingReceiver, MercuryThreads, ShortProfiles) => { | |
MercuryTypingReceiver | |
.get() |
Diretório onde será instalado: /usr/local/php5-*
Referência: http://php-osx.liip.ch/
Comando:
curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6
alias __git_ps1="git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/(\1)/'" | |
export CLICOLOR=1 | |
#export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
RESET="\[\017\]" | |
NORMAL="\[\033[0m\]" | |
USER_COLOR="\[\033[1;32m\]" | |
DIR_COLOR="\[\033[1;35m\]" | |
GIT_COLOR="\[\033[1;33m\]" |
#/bin/bash | |
# This script sets up two directories. One in ~/tools/ which contains tools that I often use on pentests. | |
# The other directory is in /var/www/html/ that contains tools/scripts that I often pull down from | |
# and run on victim machines. | |
toollist=( | |
'https://github.com/ilneill/Py-CiscoT7.git' | |
'https://github.com/rsmudge/cortana-scripts.git' | |
'https://github.com/CoreSecurity/impacket.git' |
http://blog.pentestify.com/2014/03/07/getting-started-in-security-a-message-to-a-student/
Recently had a college student reach out for advice, and thought i’d share with the class:
My biggest issue with my current education is the broad scale and lack of clear direction on how to achieve my goals. I know that I am very interested in penetration testing. Ethical hacking in general is a very big interest of mine. But as for what area of security, I’m not even sure what the options are.
Cool – sounds like the biggest thing is to explore your options, and decide on a direction knowing full well this may change as you learn more.
#summary Bookmarks List = Hacker Media =
== Blogs Worth It: == What the title says. There are a LOT of pentesting blogs, these are the ones i monitor constantly and value in the actual day to day testing work.
* http://carnal0wnage.blogspot.com/
* http://www.mcgrewsecurity.com/
* http://www.gnucitizen.org/blog/