Skip to content

Commit 3d04f40

Browse files
committed
Update telisca_ips_lock_control.rb
commit the changes mad by sinn3r and replace headers on lock and unlock
1 parent 8fb2e97 commit 3d04f40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/auxiliary/voip/telisca_ips_lock_control.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ def lock(phone_name)
8787
res = send_request_cgi({
8888
'method' => 'GET',
8989
'uri' => '/IPSPCFG/user/Default.aspx',
90+
'headers' => {
91+
'Connection' => 'keep-alive',
92+
'Accept-Language' => 'en-US,en;q=0.5'
93+
},
9094
'vars_get' => {
9195
'action' => 'DO',
9296
'tg' => 'L',

0 commit comments

Comments
 (0)