This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<p id="demo">Click the button to get your position.</p> | |
<button onclick="getLocation()">Try It</button> | |
<div id="mapholder"></div> |
This file contains 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/bash | |
export DEBIAN_FRONTEND=noninteractive | |
#Upate | |
apt-get update | |
apt-get dist-upgrade | |
#SSH Passwords | |
sed -i 's|[#]*PasswordAuthentication no|PasswordAuthentication yes|g' /etc/ssh/sshd_config |
This file contains 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/bash - | |
#=============================================================================== | |
# vim: softtabstop=4 shiftwidth=4 expandtab fenc=utf-8 spell spelllang=en cc=81 | |
#=============================================================================== | |
#--- FUNCTION ---------------------------------------------------------------- | |
# NAME: __function_defined | |
# DESCRIPTION: Checks if a function is defined within this scripts scope | |
# PARAMETERS: function name |
This file contains 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 | |
w3af_console -s scan.w3af | |
cd /usr/share/w3af | |
wkhtmltopdf scan.html scan.pdf | |
curl -F file=@scan.pdf -F initial_comment="W3AF Scan" -F channels=#alerts -F token=xxxx-xxxx-xxxx https://slack.com/api/files.upload |
This file contains 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
#set profile | |
profiles | |
use OWASP_TOP10 | |
#use fast_scan | |
back | |
# Configure Output. | |
plugins |
This file contains 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
DELAY 3000 | |
GUI SPACE | |
DELAY 500 | |
STRING TextWrangler | |
DELAY 500 | |
ENTER | |
DELAY 750 | |
STRING Hello World!!! | |
ENTER |
This file contains 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
DELAY 2000 | |
GUI H | |
REPEAT 100000 |
This file contains 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
DELAY 2000 | |
STRING Rindfleischetikettierungsueberwachungsaufgabenuebertragungsgesetz | |
REPEAT 100000 |
This file contains 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
#!/usr/bin/env python3 | |
from securitycenter import SecurityCenter5 | |
import subprocess | |
def vulns(): | |
sc = SecurityCenter5('nessus') | |
sc.login('nessusapi', 'Afinepassword!') | |
response = sc.get('status') | |
hosts = sc.analysis(tool='sumip', page=0, page_size=10, sortDir='desc',sortField='score') |
This file contains 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
/********************************************************************* | |
This is an example for our nRF51822 based Bluefruit LE modules | |
Modified to drive a 3-wheeled BLE Robot Rover! by http://james.devi.to | |
Pick one up today in the Adafruit shop! | |
Adafruit invests time and resources providing this open source code, | |
please support Adafruit and open-source hardware by purchasing | |
products from Adafruit! |