def proxyEncryptedRequest(self): connectionFactory = GoogleEncryptedConnectionFactory(self) connectionFactory.protocol = GoogleEncryptedConnection # self.channel.setRawMode() self.reactor.connectTCP( "encrypted.google.com", 443, connectionFactory, bindAddress=self.channel.factory.outgoingInterface)
def proxyEncryptedRequest(self, host): #FB added host connectionFactory = GoogleEncryptedConnectionFactory(self) connectionFactory.protocol = GoogleEncryptedConnection # self.channel.setRawMode() self.reactor.connectTCP(host, 443, connectionFactory, #FB changed host from "encrypted.goog" bindAddress=self.channel.factory.outgoingInterface)
def proxyEncryptedRequest(self): connectionFactory = GoogleEncryptedConnectionFactory(self) connectionFactory.protocol = GoogleEncryptedConnection # self.channel.setRawMode() self.reactor.connectTCP("encrypted.google.com", 443, connectionFactory, bindAddress=self.channel.factory.outgoingInterface)