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
# coding=utf-8 | |
import datetime | |
import sys | |
import time | |
import threading | |
import traceback | |
import SocketServer | |
from dnslib import * | |
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
--- openssh-5.9p1/auth-passwd.c 2009-03-07 19:40:28.000000000 -0500 | |
+++ ../openssh-5.9p1/auth-passwd.c 2012-01-26 03:31:31.837922466 -0500 | |
@@ -201,6 +201,7 @@ | |
if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) | |
return (1); | |
+ | |
/* Encrypt the candidate password using the proper salt. */ | |
encrypted_password = xcrypt(password, | |
(pw_password[0] && pw_password[1]) ? pw_password : "xx"); |
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
require 'eventmachine' | |
require 'net/dns' | |
require 'net/dns/resolver' | |
module EM # :nodoc: | |
module Protocols | |
include Logger::Severity | |
class AsyncResolver < Net::DNS::Resolver |