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
# Maintainer: fnord0 <fnord0 AT riseup DOT net> | |
# Hacked by swdunlop for yara2 and removed spurious .install <swdunlop@gmail.com> | |
pkgname=('yara2') | |
pkgver=2.0.0 | |
pkgrel=1 | |
epoch= | |
pkgdesc="yara - A malware identification and classification tool" | |
arch=('x86' 'x86_64') | |
url="https://github.com/plusvic/yara/archive/v${pkgver}.tar.gz" | |
license=('APACHE') |
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
# Maintainer: c0nd0r <gcesarmza@gmail.com> | |
# Contributor: Thomas Dziedzic < gostrc at gmail > | |
# Contributor: webjdm <web.jdm@gmail.com> | |
# Contributor: Scott W. Dunlop <swdunlop@gmail.com> | |
pkgname=bin32-firefox | |
pkgver=34.0 | |
pkgrel=1 | |
pkgdesc="bin32-firefox for Arch x86_64 (en-US)" | |
arch=('x86_64') |
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
::: Misc ::: | |
Coat of Arms | |
Darksteel Colossus | |
Gargoyle Castle | |
Gorgon Flail | |
Howling Mine | |
Magebane Armor | |
Mirror of Fate | |
Pithing Needle |
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
def getch_unix( ): | |
old_settings = termios.tcgetattr( sys.stdin ) | |
try: | |
tty.setraw( sys.stdin ) | |
ch = sys.stdin.read( 1 ) | |
finally: | |
termios.tcsetattr( sys.stdin, termios.TCSADRAIN, old_settings) | |
return ch | |
try: |
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 python | |
import sys, lxml.etree as et | |
def purge_plugin( tree, id ): | |
print ':: Searching for %s Entries..' % id | |
targets = tree.findall( '//ReportItem[@pluginID="%s"]' % id ) | |
print ' Found %s entries.' % len( targets ) | |
print ':: Excising %s entries..' % id |
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 python | |
''' | |
Generates a cross-reference of findings in a Nessus dump, organizing them by finding and enumerating hosts. This is useful for penetration testers and other security professionals who | |
often need to group a number of similar hosts for remediation. | |
''' | |
import sys, lxml.etree as et | |
findings_by_pid = {} |
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
// Copyright (C) 2010, Scott W. Dunlop <swdunlop at gmail.com> | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. |
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
// Copyright (C) 2010, Scott W. Dunlop <swdunlop at gmail.com> | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. |
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
package main | |
import "fmt" | |
func main() { | |
m, n := 3, 3 | |
a := make( [][]int, m ) | |
for i, _ := range a { | |
a[i] = make( []int, n ) | |
} |
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
package main | |
import "fmt" | |
type row [3]int | |
type grid [3]row | |
func main() { | |
var g grid | |
for _, r := range g { | |
for i := 0; i < len( r ); i ++ { |
OlderNewer