moved - https://github.com/paralax/awesome-cybersecurity-internships
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
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/xenial64" | |
| # progressbar via https://askubuntu.com/questions/445245/how-do-i-enable-fancy-apt-colours-and-progress-bars | |
| # from https://dev.gravwell.io/docs/#!quickstart/quickstart.md | |
| $script = <<SCRIPT | |
| mkdir -p /etc/apt/apt.conf.d | |
| echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar | |
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
| # routersploit/modules/payloads/php/bind_tcp.py | |
| from base64 import b64encode | |
| from routersploit.core.exploit import * | |
| from routersploit.core.exploit.payloads import BindTCPPayloadMixin, GenericPayload | |
| class Exploit(BindTCPPayloadMixin, GenericPayload): | |
| __info__ = { | |
| "name": "PHP Bind TCP", |
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
| # https://pastebin.com/YrBcG2Ln | |
| class MetasploitModule < Msf::Exploit::Remote | |
| Rank = NormalRanking | |
| include Msf::Exploit::Remote::HttpClient | |
| include Msf::Auxiliary::Dos | |
| def initialize(info = {}) | |
| super( |
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 | |
| ### BEGIN INIT INFO | |
| # Provides: opencanaryd | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: OpenCanaryd launcher | |
| # Description: OpenCanaryd is an alerting honeypot | |
| ### END INIT INFO |
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
| /* | |
| This file is part of Manalyze. | |
| Manalyze is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. | |
| Manalyze is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
| { | |
| "title": "Fastly WAF anomaly score", | |
| "extractor_type": "split_and_index", | |
| "converters": [], | |
| "order": 0, | |
| "cursor_strategy": "copy", | |
| "source_field": "message", | |
| "target_field": "anomaly_score", | |
| "extractor_config": { | |
| "index": 19, |
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
| all: vtwebd | |
| request.o: request.c | |
| gcc -g -O2 -c request.c | |
| vtwebd.o: main.c | |
| gcc -pthread -g -O2 -c main.c | |
| vtwebd: vtwebd.o request.o | |
| gcc -pthread -g -o vtwebd main.o request.o |
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
| let entropy (s) : float = | |
| let p = string(s).ToCharArray() | |
| |> Seq.groupBy (fun x -> x) | |
| |> Seq.map (fun (x,y) -> Seq.length y) | |
| -1.0 * ([ for count in p -> | |
| float(count)/float(String.length(s)) * | |
| System.Math.Log(float(count)/float(String.length(s)), 2.0) ] | |
| |> Seq.sum ) | |
| let ngrams (s : string) (n: int) : Map<string,int> = |