Scan IPs to a CSV file:
cd /mnt/hgfs/Shared/Exam
mkdir hosts
ruby scan.rb tcp 10.11.1.220 10.11.1.221 10.11.1.44 10.11.1.218 10.11.1.219
ruby scan.rb udp 10.11.1.220 10.11.1.221 10.11.1.44 10.11.1.218 10.11.1.219
// This function should retrieve the JSON from the `countryURL` and then call onCountryDataReceived() with the JSON | |
function getData(countryURL) { | |
fetch(countryURL) | |
.then((response) => { | |
return response.json(); | |
}) | |
.then((countries) => { | |
onCountryDataReceived(countries[0]); | |
}) | |
} |
class AddressBook { | |
constructor() { | |
this.names = []; | |
this.emails = []; | |
} | |
store(name, email) { | |
this.names.push(name); | |
this.emails.push(email); | |
} |
(Evan Rolfe)
Authcov: https://github.com/authcov/authcov
There is a readme in the link above for this package which explains what it does and how it works. Below I have written some more details that are relevant to this job-application.
How I built it: