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
# Java static analysis (very simple) functions | |
# by Enrique Alfonso Sanchez Montellano | |
# http://security-dojo.com/programming-bits/static-source-code-audit-on-terminal-aka-glorified-greps-part-2/ | |
auditjava () | |
{ | |
if [ -z "$1" ]; then | |
echo "Missing directory to audit!" | |
echo "Usage: auditjava <directory>" | |
else |
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
language: php | |
php: | |
- 5.4 | |
- 5.3 | |
matrix: | |
allow_failures: | |
- php: 5.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
<?php | |
/** | |
* LDAP PHP Change Password Webpage | |
* @author: Matt Rude <http://mattrude.com> | |
* @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
* | |
* | |
* GNU GENERAL PUBLIC LICENSE | |
* Version 2, June 1991 |
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
<?php | |
/* | |
coSimpleContentCleaner is a simple class to clean user imput from XSS and SQL injection atack | |
coSimpleContentCleaner is a work in progress. | |
a simple example | |
<?php | |
$clean = new coSimpleContetnCleaner(); |
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 | |
# MySQL backup script Table based | |
# Copyright (c) 2012 Jesus Christian Cruz Acono <[email protected]> | |
# This script is licensed under GNU GPL version 2.0 or above | |
# --------------------------------------------------------------------- | |
######################### | |
######TO BE MODIFIED##### | |
### System Setup ### |
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 | |
KEY="$HOME/.ssh/id_dsa.pub" | |
if [ ! -f ~/.ssh/id_dsa.pub ];then | |
echo "private key not found at $KEY" | |
echo "* please create it with "ssh-keygen -t dsa" *" | |
echo "* to login to the remote host without a password, don't give the key you create with ssh-keygen a password! *" | |
exit | |
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
thor:~# df | |
Filesystem 1K-blocks Used Available Use% Mounted on | |
/dev/cciss/c0d0p1 56435164 5819196 47749172 11% / | |
tmpfs 3060912 0 3060912 0% /lib/init/rw | |
udev 10240 792 9448 8% /dev | |
tmpfs 3060912 0 3060912 0% /dev/shm | |
/dev/cciss/c0d0p2 76896348 3624276 69365868 5% /var/www | |
thor:~# df | |
Filesystem 1K-blocks Used Available Use% Mounted on | |
/dev/cciss/c0d0p1 56435164 6136896 47431472 12% / |
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
/*please see https://github.com/compermisos/coSimpleTemplate */ | |
/* example usage | |
some.php>>> | |
<?php | |
$template = new coSimpleTemplate("rute/to/archive.tpl"); | |
$template->set("foo", "bar"); | |
$template->set("foo2", 1); | |
print $template->output(); | |
?> | |
rute/to/archive.tpl>>> |
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 | |
#(c)2011-2012 Jesus Christian Cruz Acono JesusChristian (At) Tequilavalley.com | |
#constant check network connectivity, on lost | |
#re-start Cards if lost are "more large" | |
#reboot the system. | |
#the script check connectivity by ping to "arbitrary IP" | |
######config zone###### | |
#IP to make the ping to check, in this moment uses GOOGLE IP (google cant negate the ping) | |
#you can use a "domain name" to "aditional" check de dns resolv | |
PINGIP="64.233.169.103" |
NewerOlder