you need to use linux, but MacOS will work as well since it is unix. Basically you need a terminal.
Launch a terminal and follow these steps.
navigate to the Desktop directory: type "pwd" hit enter and see where you are you can type "ls" to see what files/sub directories are within the present working directory then type cd ./<path to desktop> [will look something like /Users/<yourusername>/Desktop]
You need to navigate to the Desktop (or location of your choice) to save the output file to that location.
next type "script"
This will save everything you type and the subsequent output into a text file that will be located in the present working directory.
Use the commands "whois <ip address or domain name>" to do a lookup in terminal and also "tracert <ip/domain>" or "traceroute <ip/domain>".
Type "exit" when you are done. The file should then appear on the desktop/wherever you are.
Here's an output example with some stuff removed-
Script started on ******
bash-3.2$ whois 1.1.1.1
% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query returned 1 object
refer: whois.apnic.net
inetnum: 1.0.0.0 - 1.255.255.255 organisation: APNIC status: ALLOCATED
whois: whois.apnic.net
changed: 2010-01 source: IANA
whois.apnic.net
% [whois.apnic.net] % Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '1.1.1.0 - 1.1.1.255'
% Abuse contact for '1.1.1.0 - 1.1.1.255' is '[email protected]'
inetnum: 1.1.1.0 - 1.1.1.255 netname: APNIC-LABS descr: APNIC and Cloudflare DNS Resolver project descr: Routed globally by AS13335/Cloudflare descr: Research prefix for APNIC Labs country: AU org: ORG-ARAD1-AP admin-c: AR302-AP tech-c: AR302-AP abuse-c: AA1412-AP status: ASSIGNED PORTABLE remarks: --------------- remarks: All Cloudflare abuse reporting can be done via remarks: [email protected] remarks: --------------- mnt-by: APNIC-HM mnt-routes: MAINT-AU-APNIC-GM85-AP mnt-irt: IRT-APNICRANDNET-AU last-modified: 2020-07-15T13:10:57Z source: APNIC
irt: IRT-APNICRANDNET-AU address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia e-mail: [email protected] abuse-mailbox: [email protected] admin-c: AR302-AP tech-c: AR302-AP auth: # Filtered remarks: [email protected] was validated on 2020-08-10 mnt-by: MAINT-AU-APNIC-GM85-AP last-modified: 2020-08-10T06:42:59Z source: APNIC
organisation: ORG-ARAD1-AP org-name: APNIC Research and Development country: AU address: 6 Cordelia St phone: +61-7-38583100 fax-no: +61-7-38583199 e-mail: [email protected] mnt-ref: APNIC-HM mnt-by: APNIC-HM last-modified: 2017-10-11T01:28:39Z source: APNIC
role: ABUSE APNICRANDNETAU address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia country: ZZ phone: +000000000 e-mail: [email protected] admin-c: AR302-AP tech-c: AR302-AP nic-hdl: AA1412-AP remarks: Generated from irt object IRT-APNICRANDNET-AU abuse-mailbox: [email protected] mnt-by: APNIC-ABUSE last-modified: 2020-04-20T22:59:46Z source: APNIC
role: APNIC RESEARCH address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia country: AU phone: +61-7-3858-3188 fax-no: +61-7-3858-3199 e-mail: [email protected] nic-hdl: AR302-AP tech-c: AH256-AP admin-c: AH256-AP mnt-by: MAINT-APNIC-AP last-modified: 2018-04-04T04:26:04Z source: APNIC
% Information related to '1.1.1.0/24AS13335'
route: 1.1.1.0/24 origin: AS13335 descr: APNIC Research and Development 6 Cordelia St mnt-by: MAINT-AU-APNIC-GM85-AP last-modified: 2018-03-16T16:58:06Z source: APNIC
% This query was served by the APNIC Whois Service version 1.88.15-SNAPSHOT (WHOIS-US4)
bash-3.2$ tracert [K[Koute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 64 hops max, 52 byte packets
1 ****** 2.407 ms 0.921 ms 1.234 ms
2 ******
3 ******
4 ******
5 ******
6 one.one.one.one (1.1.1.1) 14.014 ms 33.082 ms 16.217 ms
bash-3.2$ exit exit
Script done on ******
you need to use linux, but MacOS will work as well since it is unix. Basically you need a terminal.
Launch a terminal and follow these steps.
navigate to the Desktop directory: type "pwd" hit enter and see where you are you can type "ls" to see what files/sub directories are within the present working directory then type cd ./<path to desktop> [will look something like /Users/<yourusername>/Desktop]
You need to navigate to the Desktop (or location of your choice) to save the output file to that location.
next type "script"
This will save everything you type and the subsequent output into a text file that will be located in the present working directory.
Use the commands "whois <ip address or domain name>" to do a lookup in terminal and also "tracert <ip/domain>" or "traceroute <ip/domain>".
Type "exit" when you are done. The file should then appear on the desktop/wherever you are.
Here's an output example with some stuff removed-
Script started on ******
bash-3.2$ whois 1.1.1.1
% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query returned 1 object
refer: whois.apnic.net
inetnum: 1.0.0.0 - 1.255.255.255 organisation: APNIC status: ALLOCATED
whois: whois.apnic.net
changed: 2010-01 source: IANA
whois.apnic.net
% [whois.apnic.net] % Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '1.1.1.0 - 1.1.1.255'
% Abuse contact for '1.1.1.0 - 1.1.1.255' is '[email protected]'
inetnum: 1.1.1.0 - 1.1.1.255 netname: APNIC-LABS descr: APNIC and Cloudflare DNS Resolver project descr: Routed globally by AS13335/Cloudflare descr: Research prefix for APNIC Labs country: AU org: ORG-ARAD1-AP admin-c: AR302-AP tech-c: AR302-AP abuse-c: AA1412-AP status: ASSIGNED PORTABLE remarks: --------------- remarks: All Cloudflare abuse reporting can be done via remarks: [email protected] remarks: --------------- mnt-by: APNIC-HM mnt-routes: MAINT-AU-APNIC-GM85-AP mnt-irt: IRT-APNICRANDNET-AU last-modified: 2020-07-15T13:10:57Z source: APNIC
irt: IRT-APNICRANDNET-AU address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia e-mail: [email protected] abuse-mailbox: [email protected] admin-c: AR302-AP tech-c: AR302-AP auth: # Filtered remarks: [email protected] was validated on 2020-08-10 mnt-by: MAINT-AU-APNIC-GM85-AP last-modified: 2020-08-10T06:42:59Z source: APNIC
organisation: ORG-ARAD1-AP org-name: APNIC Research and Development country: AU address: 6 Cordelia St phone: +61-7-38583100 fax-no: +61-7-38583199 e-mail: [email protected] mnt-ref: APNIC-HM mnt-by: APNIC-HM last-modified: 2017-10-11T01:28:39Z source: APNIC
role: ABUSE APNICRANDNETAU address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia country: ZZ phone: +000000000 e-mail: [email protected] admin-c: AR302-AP tech-c: AR302-AP nic-hdl: AA1412-AP remarks: Generated from irt object IRT-APNICRANDNET-AU abuse-mailbox: [email protected] mnt-by: APNIC-ABUSE last-modified: 2020-04-20T22:59:46Z source: APNIC
role: APNIC RESEARCH address: PO Box 3646 address: South Brisbane, QLD 4101 address: Australia country: AU phone: +61-7-3858-3188 fax-no: +61-7-3858-3199 e-mail: [email protected] nic-hdl: AR302-AP tech-c: AH256-AP admin-c: AH256-AP mnt-by: MAINT-APNIC-AP last-modified: 2018-04-04T04:26:04Z source: APNIC
% Information related to '1.1.1.0/24AS13335'
route: 1.1.1.0/24 origin: AS13335 descr: APNIC Research and Development 6 Cordelia St mnt-by: MAINT-AU-APNIC-GM85-AP last-modified: 2018-03-16T16:58:06Z source: APNIC
% This query was served by the APNIC Whois Service version 1.88.15-SNAPSHOT (WHOIS-US4)
bash-3.2$ tracert [K[Koute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 64 hops max, 52 byte packets 1 ****** 2.407 ms 0.921 ms 1.234 ms
2 ******
3 ******
4 ******
5 ******
6 one.one.one.one (1.1.1.1) 14.014 ms 33.082 ms 16.217 ms
bash-3.2$ exit exit
Script done on ******