Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmykane committed Feb 18, 2012
2 parents efd8c68 + 09d9ef4 commit e7e8b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/siriproxy/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def prep_received_object(object)


#OMG !!!! This is what i needed! Now the 4s creates new keys every 15 secods
if object["class"]=="CreateSessionInfoResponse" and object["properties"]["validityDuration"]!=nil and self.other_connection.is_4S==true
if object["class"]=="CreateSessionInfoResponse" and object["properties"]["validityDuration"]!=nil and self.other_connection.is_4S==true and $APP_CONFIG.regenerate_interval!=nil
object["properties"]["validityDuration"]=$APP_CONFIG.regenerate_interval #this timer can be customized
puts "[Exploit - SiriProxy] Command send to iPhone4s to regenerate multiple keys every [#{$APP_CONFIG.regenerate_interval}] seconds !!!"
end
Expand Down

0 comments on commit e7e8b6a

Please sign in to comment.