Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2016
2,621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.83 KB | None | 0 0
  1. grep -ih '$url' /usr/src/freepbx/superfecta/sources/source-*
  2. $url = "http://cnam.bulkcnam.com/query-simple.php?id=" . $run_param['API_Key'] . "&did=$thenumber";
  3. $sname = $this->get_url_contents($url);
  4. $url = "http://cnam.calleridservice.com/query?u=".$run_param['Account_User']."&k=".$run_param['Account_Key']."&n=".$thenumber;
  5. $this->DebugPrint("URL: $url",3);
  6. $sname = $this->get_url_contents($url);
  7. $url = "http://lrn.callwithus.com/api/cnam/index.php?key=".$run_param['username']."&password=".$run_param['password']."&number=" . $thenumber;
  8. $sresult = $this->get_url_contents($url);
  9. $url = "http://lrn.callwithus.com/api/cnam/index.php?key=".$run_param['username']."&password=".$run_param['password']."&number=1" . $thenumber;
  10. $sresult = $this->get_url_contents($url);
  11. $url = "https://411.ca/search/?q=$thenumber&st=reverse"; //working May 20, 2015
  12. if ($this->SearchURL($url, $regexp, $match, NULL, TRUE)) {
  13. $url = 'http://dip.cidname.com/'. $thenumber . '/';
  14. $url = "https://dip.cidname.com/" . $thenumber . "/" .$run_param['Auth_Token'];
  15. $url = 'http://dip.cidname.com/'. $thenumber . '/';
  16. $sname = $this->get_url_contents($url);
  17. $url = "http://api.cnamrf.ru/getName/{$thenumber}/?apikey={$run_param['API_Key']}&client=FreePBX";
  18. $aname = json_decode($this->get_url_contents($url));
  19. $url="https://$integration_site/$integration_apiver/services/system_io/integration_io.asmx/ProcessClientAction?actionString=".urlencode($integration_xml);
  20. curl_setopt ($ch, CURLOPT_URL, $url);
  21. $url="https://$integration_site/$integration_apiver/services/system_io/integration_io.asmx/ProcessClientAction?actionString=".urlencode($integration_xml);
  22. curl_setopt ($ch, CURLOPT_URL, $url);
  23. $url="https://$integration_site/$integration_apiver/services/system_io/integration_io.asmx/ProcessClientAction?actionString=".urlencode($integration_xml);
  24. curl_setopt ($ch, CURLOPT_URL, $url);
  25. $url = "http://www.dasoertliche.de/Controller?context=4&form_name=search_inv&action=43&page=5&ph=". $thenumber;
  26. if ($this->SearchURL($url, $regexp, $match, NULL, TRUE)) {
  27. $url = "http://enumquery.com/lookup?e164=1{$thenumber}";
  28. if ($this->SearchURL($url, $pattern, $match)) {
  29. $url = "http://www.gevonden.cc/telefoonnummer/" . $thenumber . "/lastname/";
  30. $this->DebugPrint("URL: " . $url);
  31. $result = $this->get_url_contents($url);
  32. $url = 'https://service.glipme.com/api/1.0/pbx/[KEY]/asterisklookup/[NUMBER]';
  33. $url = str_replace('[KEY]', $run_param['Security_key'], $url);
  34. $url = str_replace('[NUMBER]', $thenumber, $url);
  35. // $url = urlencode($url);
  36. $value = $this->get_url_contents($url);
  37. $url = "https://maps.googleapis.com/maps/api/place/textsearch/xml?query=%22" . $thenumber . "%22&key=" . $run_param['API_KEY'];
  38. $xml = $this->get_url_contents($url);
  39. // $url = "http://www.herold.at/telefonbuch/telefon_" . $thenumber . "/"; // valid as of 2014-06-27 for residential
  40. // $url = "http://www.herold.mobi/suche/was_$thenumber/"; // 2014-07-02 mostly okay for both residential and business but gives occasional false name
  41. $url = "http://www.infobel.com/en/belgium/Inverse.aspx?q=Belgie";
  42. $url = "http://www.infobel.com/en/luxembourg/Inverse.aspx?q=Luxembourg";
  43. $url = "http://www.infobel.com/en/denmark/Inverse.aspx?q=Denmark";
  44. $url = "http://www.infobel.com/en/austria/Inverse.aspx?q=Oostenrijk";
  45. $url = "http://www.infobel.com/en/italy/Inverse.aspx?q=Italy";
  46. $url = "http://www.infobel.com/en/germany/Inverse.aspx?q=germany";
  47. $url = "http://www.infobel.com/en/spain/Inverse.aspx?q=spain";
  48. $url = "http://www.infobel.com/en/france/Inverse.aspx?q=France";
  49. $url = "";
  50. if ($url != "") {
  51. $url = $url . "&qPhone=" . $loc_number . "&qSelLang3=&SubmitREV=Zoek&inphCoordType=EPSG";
  52. $sresult = $this->get_url_contents($url);
  53. $url = "http://www.klicktel.de/rueckwaertssuche/". $thenumber;
  54. if ($this->SearchURL($url, $regexp, $match, NULL, TRUE)) {
  55. $url = "https://".$run_param['username'].":".$run_param['password']."@api.nextcaller.com/v2/records/?format=json&phone=$thenumber";
  56. $sresult = $this->get_url_contents($url);
  57. $url = "https://api.opencnam.com/v2/phone/" . $thenumber . "?format=pbx";
  58. $url = "https://api.opencnam.com/v2/phone/" . $thenumber . "?format=pbx&ref=possa&account_sid=".$run_param['Account_SID']."&auth_token=".$run_param['Auth_Token'];
  59. $sname = $this->get_url_contents($url);
  60. $url = "http://www.paginasblancas.com.ar/telefono/".$thenumber; //updated 2014-08-05
  61. if ($this->SearchURL($url, $pattern, $match)) {
  62. $url = "http://www.phonespamfilter.com/check.php?phone=$thenumber";
  63. $value = $this->get_url_contents($url);
  64. $url = "http://www.phonespamfilter.co.uk/check.php?phone=$thenumber";
  65. $value = $this->get_url_contents($url);
  66. $url = "http://api.reverseaustralia.com/cidlookup.php?format=json&key={$run_param['API_Key']}&q=$thenumber".$spam;
  67. // $this->DebugPrint($url); // for debug
  68. $value = $this->get_url_contents($url);
  69. $url = "http://www.reversephonebooks.co.uk/$thenumber-phone-number";
  70. $value = $this->get_url_contents($url);
  71. if ($this->SearchURL($url, $pattern, $match)) {
  72. $url = "http://reversephones.com.au/csp?csv=&surname=&initials=&street_number=&street_name=&street_type=&locality=&state=&phone_number=$$this->thenumber&key=" . (isset($run_param['Premium_Key']) ? $run_param['Premium_Key'] : '') . "&terms=1";
  73. $value = $this->get_url_contents($url);
  74. $url = "http://www.saynoto0870.com/numbersearch.php";
  75. if ($this->SearchURL($url, $pattern, $match, $PostData)) {
  76. $url="http://www.118100.se/sok/$thenumber";
  77. $value = $this->get_url_contents($url);
  78. $url="http://mobil.118700.se/personsearch.aspx?q=$thenumber";
  79. $value = $this->get_url_contents($url);
  80. $url="http://mobil.118700.se/companysearch.aspx?q=$thenumber";
  81. $value = $this->get_url_contents($url);
  82. $url="http://www.clearsearch.se/personer/-/q_$thenumber/1/";
  83. $value = $this->get_url_contents($url);
  84. $url="http://www.clearsearch.se/foretag/-/q_$thenumber/1/";
  85. $value = $this->get_url_contents($url);
  86. $url="http://api.eniro.com/cs/search/basic?profile=".$run_param['API_Profile']."&key=".$run_param['API_Key']."&version=1.1.3&country=se&search_word=$thenumber";
  87. $value = $this->get_url_contents($url);
  88. $this->DebugPrint("URL=".$url."\n");
  89. $url = "http://api.missatsamtal.se/?action=search&number=$thenumber&numberOfCompanies=1";
  90. $value = $this->get_url_contents($url);
  91. $url = $run_param['URL_address'] . '/cgi-bin/message?message=' . $cliddreambox;
  92. $value = get_url_contents($url);
  93. $url = str_replace(":cid:",urlencode($thenumber), $run_param['Callback_URL']);
  94. $url = str_replace(":cnam:",urlencode($first_caller_id), $url);
  95. $url = str_replace(":did:",urlencode($the_did_formated), $url);
  96. $this->DebugPrint("Growl URL: $url");
  97. // only set callbacktarget if $url is populated, otherwise clicking on growl notice causes 'unknown url' error
  98. if ($url) {
  99. $growl_options['CallbackTarget'] = $url;
  100. $url = 'http://';
  101. $url .= $host . ':' . $run_param['Port'] . "/control/message?nmsg=";
  102. $url .= $host . ':' . $run_param['Port'] . "/control/message?popup=";
  103. $this->DebugPrint('URL: ' . $url . '</code>',DEBUG_ALL);
  104. $url .= urlencode($my_msg);
  105. $this->DebugPrint('<code>URL: ' . $url . '</code>',DEBUG_ALL);
  106. $value = $this->get_url_contents($url);
  107. July 11, 2014 Added urlencodes to $url, added support for muliple api keys
  108. $url = "https://www.notifymyandroid.com/publicapi/notify?apikey=". $api ."&application=Superfecta&event=Incoming%20Call&description=Call%20from%20".urlencode($first_caller_id)."%20at%20".urlencode($thenumber);
  109. // $this->DebugPrint("Sent to NotifyMyAndroid $url");
  110. $value = $this->get_url_contents($url);
  111. $url = 'https://api.pushbullet.com/v2/devices?';
  112. curl_setopt($curl, CURLOPT_URL, $url);
  113. $url = 'https://api.pushbullet.com/v2/pushes';
  114. curl_setopt($curl, CURLOPT_URL, $url);
  115. $url = $run_param['URL_address'] . '/status.txt?p0=display&p1=' . $clid2 . '&p2=' . $clid1 . '&p3=' . $run_param['Display_Time'] . '&player=' . $run_param['Player_Name'];
  116. $this->DebugPrint("Send to Squeezebox: " . $url);
  117. $value = $this->get_url_contents($url);
  118. $url = $run_param['URL_address'];
  119. $url = str_replace('[NAME]', urlencode($first_caller_id), $url);
  120. $url = str_replace('[NUMBER]', urlencode($thenumber), $url);
  121. $url = str_replace('[name]', urlencode($first_caller_id), $url);
  122. $url = str_replace('[number]', urlencode($thenumber), $url);
  123. $this->DebugPrint("Send to URL: {$url}");
  124. $value = $this->get_url_contents($url);
  125. $url='/jsonrpc?request='.urlencode($json);
  126. return $url;
  127. $url = 'http://';
  128. $url .= $run_param['UserName'] . ':' . $run_param['PassWord'] . '@';
  129. $url .= $host . ':' . $run_param['Port'];
  130. $url1 = $url . _myXbmcUrl($my_request);
  131. $url2 = $url . _myXbmcUrl($my_request);
  132. $url3 = $url . _myXbmcUrl($my_request);
  133. $url1 = $url . urlencode('/xbmcCmds/xbmcHttp?command=SetVolume(' . $run_param['Change_Volume'] . ')');
  134. $url2 = $url . urlencode('/xbmcCmds/xbmcHttp?command=Pause()');
  135. $url3 = $url . urlencode('/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.Notification(' . $my_dharma_params . ')');
  136. $this->DebugPrint('<code>Volume URL: ' . $url1 . '</code>',DEBUG_ALL);
  137. $value = $this->get_url_contents($url1);
  138. $this->DebugPrint('<code>Pause URL: ' . $url2 . '</code>',DEBUG_ALL);
  139. $value = $this->get_url_contents($url2);
  140. $this->DebugPrint('<code>Notif URL: ' . $url3 . '</code>',DEBUG_ALL);
  141. $value = $this->get_url_contents($url3);
  142. $url = "http://api.vemringde.se/?apikey=".$run_param['API_Key']."&q=$thenumber&stats=1&n=".$run_param['SPAM_Value']."";
  143. $value = $this->get_url_contents($url);
  144. //retreive website contents using get_url_contents($url);
  145. $url = "http://www.telcodata.us/query/queryexchangexml.html?npa=$npa&nxx=$nxx";
  146. $value = $this->get_url_contents($url);
  147. $url = "http://www.telepest.co.uk/$thenumber";
  148. $value = $this->get_url_contents($url);
  149. $url = sprintf("https://api.truecnam.net/api/v1?username=%s&password=%s&resp_type=%s&resp_format=json&calling_number=%s&call_party=terminating",$run_param['APIKey'],$run_param['Password'],$resp_type,$thenumber);
  150. $ret = $this->get_url_contents($url);
  151. $url = "http://0870.me/get/json/$thenumber";
  152. $this->DebugPrint($url); // for debug
  153. $value = $this->get_url_contents($url);
  154. $url = "http://www.ukphoneinfo.com/search?q={$thenumber}";
  155. if ($this->SearchURL($url, "=<h2[^>]*>(.*)</h2>=siU", $match)) {
  156. $url = 'http://blacklist.voipasylum.com/cat/'.$thenumber;
  157. $value = $this->get_url_contents($url);
  158. $url = 'http://blacklist.voipasylum.com/get/'.$thenumber;
  159. $value = $this->get_url_contents($url);
  160. $url = "http://query.voipcnam.com/query.php?api_key=" . $run_param['API_Key'] . "&number=1$this->thenumber";
  161. $value = $this->get_url_contents($url);
  162. $url = "https://whocalled.us/do?action=getScore&name=" . $run_param['Username'] . "&pass=" . $run_param['Password'] . "&phoneNumber=$thenumber&days=". $run_param['Report_Age'];
  163. $this->DebugPrint("SPAM URL: ".$url,3);
  164. $value = $this->get_url_contents($url);
  165. $url = "https://whocalled.us/do?action=getWho&name=" . $run_param['Username'] . "&pass=" . $run_param['Password'] . "&phoneNumber=$thenumber";
  166. $this->DebugPrint("NAME URL: ".$url,3);
  167. $value = $this->get_url_contents($url);
  168. [root@freepbxdev2 ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement