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/bash | |
| # Referenced and tweaked from http://stackoverflow.com/questions/6174220/parse-url-in-shell-script#6174447 | |
| proto="$(echo $1 | grep :// | sed -e's,^\(.*://\).*,\1,g')" | |
| # remove the protocol | |
| url="$(echo ${1/$proto/})" | |
| # extract the user (if any) | |
| userpass="$(echo $url | grep @ | cut -d@ -f1)" | |
| pass="$(echo $userpass | grep : | cut -d: -f2)" | |
| if [ -n "$pass" ]; then | 
  
    
      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
    
  
  
    
  | # capture info messages and any errors in a log file | |
| exec >> log/hooks-out.log 2>&1 | |
| if git diff-tree --name-only --no-commit-id ORIG_HEAD HEAD | grep -q 'package.json'; then | |
| echo "$(date): reinstalling deps since package.json changed" | |
| yarn > /dev/null | |
| else | |
| echo "$(date): no changes detected in package.json" | |
| fi | 
  
    
      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
    
  
  
    
  | #!/usr/bin/python3 | |
| # reads a list of IP subnets in CIDR notation from stdin and collapses it | |
| import sys | |
| import ipaddress | |
| subnets6 = [] | |
| subnets4 = [] | |
| input_list = sys.stdin.readlines() | 
  
    
      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
    
  
  
    
  | acl intermediate_fetching transaction_initiator certificate-fetching | |
| http_access allow intermediate_fetching | |
| # | |
| # Recommended minimum configuration: | |
| # | |
| # Example rule allowing access from your local networks. | |
| # Adapt to list your (internal) IP networks from where browsing | |
| # should be allowed | |
| acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN) | 
  
    
      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
    
  
  
    
  | Africa/Abidjan | |
| Africa/Accra | |
| Africa/Addis_Ababa | |
| Africa/Algiers | |
| Africa/Asmara | |
| Africa/Bamako | |
| Africa/Bangui | |
| Africa/Banjul | |
| Africa/Bissau | |
| Africa/Blantyre | 
  
    
      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
    
  
  
    
  | user nginx; | |
| # one(1) worker or equal the number of _real_ cpu cores. 4=4 core cpu | |
| worker_processes 4; | |
| # renice workers to reduce priority compared to system processes for | |
| # machine health. worst case nginx will get ~25% system resources at nice=15 | |
| worker_priority -5; | 
  
    
      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/bash | |
| # Diego García Gonzalez (diegargon) diego@envigo.net | |
| # v1.0 | |
| ### BEGIN INIT INFO | |
| # Provides: myQoS | |
| # Required-Start: networking, myFirewall | |
| # Required-Stop: | |
| # Should-Start: | |
| # Should-Stop: | |
| # Default-Start: 2 3 4 5 | 
  
    
      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
    
  
  
    
  | #!/usr/bin/perl | |
| ###################################################################################################################### | |
| ###################################################################################################################### | |
| ## DDoS Perl IrcBot v1.0 / 2012 by w0rmer Security Team ## [ Help ] ######################################### | |
| ## Stealth MultiFunctional IrcBot writen in Perl ####################################################### | |
| ## Teste on every system with PERL instlled ## !u @system ## | |
| ## ## !u @version ## | |
| ## This is a free program used on your own risk. ## !u @channel ## | |
| ## Created for educational purpose only. ## !u @flood ## | 
  
    
      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
    
  
  
    
  | #!/usr/bin/perl | |
| ###################################################################################################################### | |
| ###################################################################################################################### | |
| ## DDoS Perl IrcBot v1.0 / 2017 by flood.ro Team ## [ Help ] ########################################### | |
| ## Stealth MultiFunctional IrcBot writen in Perl ####################################################### | |
| ## Teste on every system with PERL instlled ## !u @system ## | |
| ## ## !u @version ## | |
| ## This is a free program used on your own risk. ## !u @channel ## | |
| ## Created for educational purpose only. ## !u @flood ## | 
  
    
      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
    
  
  
    
  | :do { | |
| :do { | |
| /file remove "/ipsum.rsc"; | |
| /file remove "/subnet.rsc"; | |
| } on-error={} | |
| :put "Downloading ipsum.rsc..."; | |
| :do { | |
| /tool fetch url="https://antifilter.download/list/ipsum.rsc" dst-path="/ipsum.rsc" | |
| } on-error={ | 
NewerOlder