mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	Bug fix (ML) - when cookies have blank expiration time
This commit is contained in:
		
							parent
							
								
									ce64d9797e
								
							
						
					
					
						commit
						62f35698ee
					
				| 
						 | 
				
			
			@ -3831,7 +3831,7 @@ def resetCookieJar(cookieJar):
 | 
			
		|||
                with open(filename, "w+b") as f:
 | 
			
		||||
                    f.write("%s\n" % NETSCAPE_FORMAT_HEADER_COOKIES)
 | 
			
		||||
                    for line in lines:
 | 
			
		||||
                        _ = line.split()
 | 
			
		||||
                        _ = line.split("\t")
 | 
			
		||||
                        if len(_) == 7:
 | 
			
		||||
                            _[4] = FORCE_COOKIE_EXPIRATION_TIME
 | 
			
		||||
                            f.write("\n%s" % "\t".join(_))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user