⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.138
Server IP:
186.226.58.36
Server:
Linux da02.sh15.net 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Server Software:
Apache/2
PHP Version:
8.1.32
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
redesystem
/
public_html
/
dist
/
libs
/
whois
/
src
/
View File Name :
whois.ir.php
<?php /** * PHPWhois IR Lookup Extension - http://github.com/sepehr/phpwhois-ir * * An extension to PHPWhois (http://phpwhois.org) library to support IR lookups. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // Define the handler flag. if (!defined('__IR_HANDLER__')) define('__IR_HANDLER__', 1); // Loadup the parser. require_once('whois.parser.php'); /** * IR Domain names lookup handler class. */ class ir_handler { function parse($data_str, $query) { $translate = array( 'nic-hdl' => 'handle', 'org' => 'organization', 'e-mail' => 'email', 'person' => 'name', 'fax-no' => 'fax', 'domain' => 'name' ); $contacts = array( 'admin-c' => 'admin', 'tech-c' => 'tech', 'holder-c' => 'owner' ); $reg = generic_parser_a($data_str['rawdata'], $translate, $contacts, 'domain', 'Ymd'); $r['regrinfo'] = $reg; $r['regyinfo'] = array( 'referrer'=>'http://whois.nic.ir/', 'registrar' => 'NIC-IR' ); return $r; } } ?>