Skip to content

Commit

Permalink
Merge pull request #1 from 0xwindows/master
Browse files Browse the repository at this point in the history
增加一个端口
  • Loading branch information
brianwrf authored Sep 6, 2017
2 parents 87e9bdb + bb414cf commit d36b431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class HackRequests(object):
def __init__(self, request_info, lib = 'REQUESTS'):
self.request_info = request_info
self.lib = lib
self.url = "{}://{}{}".format(self.request_info['protocol'], self.request_info['host'], self.request_info['path'])
self.url = "{}://{}:{}{}".format(self.request_info['protocol'], self.request_info['host'], self.request_info['port'], self.request_info['path'])
self.TIME_OUT = 10 # timeout of requests

# configurations for PhantomJS
Expand Down

0 comments on commit d36b431

Please sign in to comment.