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
[All TCP ports scan] | |
command = nmap -sS -p 1-65535 -Pn | |
description = Scan all ports on a host. | |
[Common TCP connect scan] | |
command = nmap -sT -p 17,19,21,22,23,25,26,37,53,80,88,110,113,123,135,137,138,139,143,443,444,445,548,554,843,993,995,1027,1030,1064,1080,1194,1221,1433,2082,2083,2084,2086,2087,2095,2096,3074,3306,3333,3389,3784,4899,5631,5800,5900,6665-6669,6697,8000,8080,8088,10000,17500,32764 -n -Pn -r | |
description = Scan Common Used Ports | |
[Common TCP syn scan] | |
command = nmap -sS -p 17,19,21,22,23,25,26,37,53,80,88,110,113,123,135,137,138,139,143,443,444,445,548,554,843,993,995,1027,1030,1064,1080,1194,1221,1433,2082,2083,2084,2086,2087,2095,2096,3074,3306,3333,3389,3784,4899,5631,5800,5900,6665-6669,6697,8000,8080,8088,10000,17500,32764 -n -Pn -r |
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
// Left 4 No More Room In Hell 2 CFG (Version 0.9.1 BETA) | |
motdfile "l4nmrih2_motd.txt" | |
hostfile "l4nmrih2_banner.txt" | |
hostname "Left 4 No More Room In Hell 2" | |
// Extra Tweaks | |
sm_cvar sv_noclipaccelerate 9.5 // Needed For Noclip | |
// Director Tweaks | |
sm_cvar director_no_bosses 0 // Disables Director Tanks (Final Maps Need Tanks!!!!) |
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 | |
# This file is interpreted as shell script. | |
# Put your custom iptables rules here, they will | |
# be executed with each firewall (re-)start. | |
# Internal uci firewall chains are flushed and recreated on reload, so | |
# put custom rules into the root chains e.g. INPUT or FORWARD or into the | |
# special user chains, e.g. input_wan_rule or postrouting_lan_rule. | |
. /lib/functions/network.sh |
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 | |
# | |
# Libretro playlist builder | |
# | |
# Usage: | |
# scan.sh "Files path" "Core" "Core name" "Playlist filename" ["Playlists path"] | |
# | |
# Example: | |
#./scan.sh "/storage/roms/arcade/*.zip" "/tmp/cores/fba_libretro.so" "Arcade (FB Alpha - SVN)" "FB Alpha - Arcade Games.lpl" "/storage/playlists/" |
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
function OnGameEvent_player_connect(params){ | |
if(!params.bot){ | |
local log = "Player " + params.name + " connected from " + params.address + " with SteamID: " + params.networkid | |
printl(log) | |
local file = FileToString("connect_log.txt") | |
if(file == null){ | |
StringToFile("connect_log.txt", log) | |
} else { |
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 | |
while read -r a b; do | |
echo "\"$a\",\"$b\"" >> RESOURCE_OFFSETS.TXT # dump offest and length into file | |
if [ ! -f "$a.AUD" ] ; then # check if the file does not already exist | |
dd if=../RESOURCE.AUD of="$a".AUD bs=1 count="$b" skip="$a" iflag=skip_bytes,count_bytes # extract the raw audio | |
ffmpeg -nostdin -loglevel fatal -i "$a".AUD "$a".ogg # convert into modern format | |
else | |
echo "File $a.AUD Already Exists Skipping........" | |
fi | |
done < <(awk -F'[^0-9]*' '{if (NR!=1) {print $1$2$3$4" "$5$6}}' Logfile.CSV); # parse procmon csv logs |
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
-- garrysmod/addons/ulx_cheat/lua/ulx/modules/sh/hl2cheat.lua | |
FCVAR_DEVELOPMENTONLY = bit.lshift(1,1) | |
local function undev(name) | |
local cvar = GetConVar(name) | |
if cvar and cvar.SetFlags then | |
cvar:SetFlags (bit. band (cvar:GetF1ags(), bit.bnot(FCVAR_DEVELOPMENTONLY))) | |
end | |
end | |
undev("anim_showstate") | |
undev("anim_showstatelog") |
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
If (!A_IsAdmin){ | |
Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%" | |
} | |
262MACenterLayout() | |
{ | |
MyCenterWindow(2064, 1288, 2048, 1280) ; Client Size Should Be 2048x1280 8:5 1:1 | |
} | |
QWXGACenterLayout() |
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
//----------------------------------------------------- | |
Msg("Activating Mutation 16 Extra Hunters\n"); | |
::mapName <- Director.GetMapName().tolower() | |
::survivorSet <- Director.GetSurvivorSet() | |
::ghostModeEnabled <- false | |
::Debug <- true | |
::devs <- {} | |
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
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; |
NewerOlder