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
| diff -ruN ldapsh-2.00/examples/ldapsh_config ldapsh-2.00-patched/examples/ldapsh_config | |
| --- ldapsh-2.00/examples/ldapsh_config 2004-11-09 21:46:52.000000000 -0600 | |
| +++ ldapsh-2.00-patched/examples/ldapsh_config 2011-11-18 09:10:57.000000000 -0600 | |
| @@ -1,6 +1,7 @@ | |
| [ldap] | |
| servers: ldap.domain.com | |
| base: dc=domain,dc=com | |
| +ssl: prefer | |
| [main] |
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
| diff -ruN ldapsh-2.00/lib/Net/LDAP/Shell.pm ldapsh-2.00-patched//lib/Net/LDAP/Shell.pm | |
| --- ldapsh-2.00/lib/Net/LDAP/Shell.pm 2004-11-23 23:58:32.000000000 -0600 | |
| +++ ldapsh-2.00-patched//lib/Net/LDAP/Shell.pm 2011-11-18 08:32:46.000000000 -0600 | |
| @@ -341,26 +341,26 @@ | |
| #my $atts = $shell->{'TERM'}->Attribs; | |
| $shell->{'TERMATTRS'} = $shell->{'TERM'}->Attribs; | |
| - # completion stuff | |
| - $shell->{'TERMATTRS'}->{'basic_word_break_characters'} = qq( \t'"\$\@); | |
| - $shell->{'TERMATTRS'}->{'completer_word_break_characters'} = qq( \t'"\$\@); |
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
| # Fresh install centos5 on redwood | |
| # redwood | |
| yum install -y git | |
| ssh-keyscan -t rsa freyr.websages.com > .ssh/known_hosts | |
| wd deploy --to=redwood | |
| clear; (cd /opt/local/jarvis/; ./universal.pl) | |
| # look for @INC errors... Remediate them as follows: |
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
| We install a base system: using PXE | |
| yum install -y perl-Compress-Zlib perl-URI perl-libwww-perl perl-DBI | |
| We then download the desired package from a place like DAG | |
| (http://dag.wieers.com/rpm/packages) | |
| mkdir -p /opt/local/src | |
| (cd /opt/local/src;rpm -Uvh perl-Catalyst-Runtime-5.7012-1.el5.rf.noarch.rpm) |
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
| for n in 34 39 42 43 44 45 47 49 50 51 54 55 56 58 59 65 67; do echo "[$(perl -le 'print time;')] ENABLE_SVC_NOTIFICATIONS;prnt00$n.cao.eftdomain.net;check_evolis_fw" > /var/log/nagios/rw/nagios.cmd;sleep 1; done | |
| for n in 34 39 42 43 44 45 47 49 50 51 54 55 56 58 59 65 67; do echo "[$(perl -le 'print time;')] ACKNOWLEDGE_SVC_PROBLEM;prnt00$n.cao.eftdomain.net;check_evolis_fw;2;1;1;James+White;ack" > /var/log/nagios/rw/nagios.cmd;sleep 1;done |
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
| insert into wp_users values('','fapestniegd','cleartext','Fapest Niegd','[email protected]','http://fapestniegd.com','2011-10-11 15:46:48','',0,'Fapest Niegd'); | |
| insert into wp_usermeta values ('','fapestniegd','wp_capabilities','a:1:{s:13:"administrator";s:1:"1";}'); | |
| UPDATE wp_users SET user_pass = '$P$9PAjX6fcwNz09SFcr/t6A6N6g12izs.' WHERE user_login = 'fapestniegd'; |
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 | |
| include '/wp-includes/class-phpass.php'); | |
| $hash = 'somepassword'; | |
| $wp_hasher = new PasswordHash(8, TRUE); | |
| $check = $wp_hasher->CheckPassword($password, $hash); | |
| ?> |
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
| <html> | |
| <head> | |
| <META HTTP-EQUIV="Pragma" CONTENT="no_cache"> | |
| <title>Site Temporarily Unavailable</title> | |
| </head> | |
| <h1>Site Temporarily Unavailable</h1> | |
| We apologize for the inconvenience. Please contact the webmaster/ | |
| tech support immediately to have them rectify this.<p> |
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
| I'm trying to make a Certificate Authenticated Dynamic Lan-to-Lan VPN between | |
| a Linux host (using racoon) and a Cisco ASA 5520. | |
| Setup: | |
| (Static Private IP) (DHCP Assigned, Non-Static Public IP) | |
| (interface "eth2") (interface "eth1") | |
| 10.100.1.1/30 A.B.C.D | |
| +-----------+ \ / | |
| | Passive | \ +--------------+ / | |
| | Remote +----------+ Linux router +--------------+ |
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
| I'm trying to make a Certificate Authenticated Dynamic Lan-to-Lan VPN between | |
| a Linux host (using racoon) and a Cisco ASA 5520. | |
| Setup: | |
| (Static Private IP) (DHCP Assigned, Non-Static Public IP) | |
| (interface "eth2") (interface "eth1") | |
| 10.100.1.1/30 A.B.C.D | |
| +-----------+ \ / | |
| | Passive | \ +--------------+ / | |
| | Remote +----------+ Linux router +--------------+ |