SPFtoolbox is a Javascript and PHP app to look up DNS records such as SPF, MX, Whois, and more

Overview

Logo

CDNJS Chrome Web Store Website

SPFtoolbox is an Application to check simple information such as SPF, DNS records, and more

Releases

Contribute

There are many ways to contribute to SPFtoolbox.

Screenshot

big screenshot

How to install SPFToolBox

  • You have a Yunohost Server

Install SPFToolBox with YunoHost

  • Heroku

Deploy

  • Install manually
  1. Dowload the latest release of SPFtoolbox
  2. Upload the contents to your webserver enabled with PHP 5.3+
  3. Extract the contents of the zip file on your server to your desired directory.
  4. Navigate to index.html
  5. Enter in your domain and submit!

Questions, Concerns, and Feature Request

  • Please create an issue or send me an email if you have feedback to give

This also comes as an extension!

Created by Charles Barnes

Comments
  • getPort.php

    getPort.php

    I tried something, surely unfinished. I don't know how to manipulate the .out of the function. You use "$response" but can you explain how I can manipulate the echo of the function ?

    fixes #20

    opened by frju365 19
  • phpwhois error running php version 7.1.14

    phpwhois error running php version 7.1.14

    Appears to be an issue with phpwhois

    https://mycooldomain.lan/SPFtoolbox/getWhois.php?domain=abc.net.au
    
    <br />
    <b>Warning</b>:  Illegal string offset 'domain' in <b>/Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.parser.php(370) : eval()'d code</b> on line <b>1</b><br />
    <br />
    <b>Fatal error</b>:  Uncaught Error: Cannot use string offset as an array in /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.parser.php(370) : eval()'d code:1
    Stack trace:
    #0 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.parser.php(370): eval()
    #1 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.au.php(54): generic_parser_b(Array, Array)
    #2 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.client.php(472): au_handler-&gt;parse(Array, 'abc.net.au')
    #3 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.client.php(257): WhoisClient-&gt;Process(Array, true)
    #4 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.main.php(259): WhoisClient-&gt;GetData('abc.net.au', true)
    #5 /Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/getWhois.php(15): Whois-&gt;Lookup('abc.net.au')
    #6 {main}
      thrown in <b>/Volumes/MyMagicDrive/SuperSecret/Directory/Apache/SPFtoolbox/phpwhois/whois.parser.php(370) : eval()'d code</b> on line <b>1</b><br />
    

    Client Side: Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    bug 
    opened by adamchilcott 7
  • Why the tracking?

    Why the tracking?

    https://spftoolbox.com/ my adblocker and tracker blocker are blocking a bunch of stuff. Like:

    ajax.googleapis.com
    bootstrapcdn.com
    maxcdn.bootstrapcdn.com
    googletagmanager.com
    www.googletagmanager.com
    

    Why are they needed?

    opened by tio-trom 6
  • ERROR with all request

    ERROR with all request

    2019/01/08 13:31:00 [error] 293#293: *1 FastCGI sent in stderr: "PHP message: PHP Warning: dns_get_record(): Unable to parse DNS data received in /config/www/SPFtoolbox/getAll.php on line 12" while reading response header from upstream, client: 10.0.0.3, server: spf.redacted, request: "GET /getAll.php?domain=onr.com HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "spf.redacted", referrer: "https://spf.redacted/"

    i dont know if its because of the current whois error

    opened by dirtycajunrice 4
  • Addition of DMARC functionality

    Addition of DMARC functionality

    Hi there,

    This is my first proper attempt at a pull request, so forgive me if I'm making a mistake.

    I thought adding DMARC functionality would be really useful. While it's possible to lookup DMARC by looking up a TXT record for _dmarc.domain.com, adding this as a separate functionality will make it more user-friendly and give it more parity with other websites and services.

    I'm by no means a pro at PHP or JavaScript, so let me know if there's something wrong in the code.

    Thanks for reading, Erik Lentz

    opened by ErikLentz 3
  • Question about meta tags.

    Question about meta tags.

    I have a long question : Can we get rid of useless meta tags ? I wanted to know what are the goal of these meta tag "http-equiv" and "pragma" because, even if I know what are the goal of this header, I don't find the reason of no using php header. :-)

    I did a test and these tags are simply not working with my browser for example. I did a test :

    • with meta tags : test1

    • using php header : test2

    Perhaps there is something I don't understand, but I checked on w3c website about this meta tags and I found that they doesn't recommend to use it (cf. W3C validator).

    opened by frju365 2
  • New feature : check open/close ports.

    New feature : check open/close ports.

    Hello, Thanks for this amazing tools which is very useful for me. I did a package for Yunohost to integrate it to our software (free software too) : https://yunohost.org

    I was thinking of another feature : could it be possible to check open/close port from an host ?

    Thanks in advance for your answer, frju365

    enhancement 
    opened by frju365 2
  • Errors returned from getWhois.php

    Errors returned from getWhois.php

    Upon calling the getWhois.php file some error messages are returned in the response:

    1. ( ! ) Notice: Undefined variable: out in C:\wamp64\www\spf\getWhois.php on line 7

    2. ( ! ) Warning: Illegal string offset 'handler' in C:\wamp64\www\spf\phpwhois\whois.gtld.php on line 57

    • Seems to happen regardless of the domain called
    • Easy to repro

    screenshot_1

    opened by MichaelDill 2
  • Add Dockerfile and GitHub workflow

    Add Dockerfile and GitHub workflow

    What is this change?

    Adds a Dockerfile and a GitHub workflow to publish the docker image to the GitHub repository.

    Why is this being done?

    Enable users to run SPFtoolbox as a docker container.

    How was it tested?

    Committed changes and the workflow was run successfully resulting in a working docker image: https://github.com/jamesmoore/SPFtoolbox/pkgs/container/spftoolbox

    opened by jamesmoore 1
  • Feature request: DMARC record

    Feature request: DMARC record

    A common record type that SPFtoolbox doesn't yet easily retrieve is DMARC. While it's easy enough to look up the TXT record for _dmarc.domain.com, having DMARC as an explicit option would make it easier not to forget to add _dmarc to the front of the query.

    Thanks!

    opened by ErikLentz 1
  • If an array has a to-many association [{object number}[object Object]] is returned

    If an array has a to-many association [{object number}[object Object]] is returned

    I updated how data is returns so it matches JSON standard. This change affected the function that returns data. Do you think this will require a big refactor @MikeDpicks?

    opened by charlesabarnes 1
  • Update dependency versions

    Update dependency versions

    • Use latest php-apache image
    • Use latest sigstore/cosign-installer

    Tested successfully in the latest workflow run on my fork: https://github.com/jamesmoore/SPFtoolbox/actions/runs/3758330825/jobs/6386540993

    opened by jamesmoore 0
  • Include docker registry info.

    Include docker registry info.

    Hi, this is a very helpful tool, thanks for making it!

    I saw that you're using GitHub Workflows to publish to ghcr.io, which is great, but I had to piece together the registry url as I usually use docker hub.

    After a bit of trial and error, I can see that this works:

    ghcr.io/charlesabarnes/spftoolbox:master - great!

    It would be helpful if:

    1. You did a tagged release to v2.1.2 (or whatever), so that there's a stable version in ghcr.
    2. You added a note that this can be pulled from ghcr within the README.

    Again, thanks for making this, it's great!

    opened by atheken 0
  • Ping And traceroute support

    Ping And traceroute support

    Created #50 to add ping and traceroute but it will require it to be active on the machine. Need help finding an approach without this as a necessity.

    help wanted 
    opened by charlesabarnes 0
  • Ping and Traceroute: Review wanted

    Ping and Traceroute: Review wanted

    Ping and Traceroute has to be installed on the associated machine. I am thinking about hitting a fallback server. any complaints with getting the response from https://spftoolbox.com as a fallback?

    opened by charlesabarnes 0
  • API Documentation Request

    API Documentation Request

    Digging the code I found access to the API which I found is not documented although easily accesible and usable.

    GET @ /operations? Params: domain=***** (the domain or url to check) request=blacklist (the desired test to make) port=### (Depending on the request type)

    And getting a simple JSON response well formatted. I used it with Postman Monitors to check every week if my domain has gone to any blacklist.

    I find this API very useful and a handy application overall to host alongside a webmail on a mail server.

    opened by R0dri 2
Releases(v2.1.1)
Owner
Charles Barnes
Developer happy to help with anything Typescript
Charles Barnes
OpenEMR is a Free and Open Source electronic health records and medical practice management application

OpenEMR is a Free and Open Source electronic health records and medical practice management application. It features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. It runs on Windows, Linux, Mac OS X, and many other platforms.

OpenEMR 2.1k Jan 9, 2023
Simplified database records management.

Simplified database records management. Inspector will let you take care of CRUD without taking over your frontend. Example $inspector = new \InvoiceN

Invoice Ninja 6 Dec 17, 2022
Livewire component to show records according to their current status

Livewire Status Board Livewire component to show records/data according to their current status Preview Installation You can install the package via c

Andrés Santibáñez 288 Dec 24, 2022
A Responsive Web Chat App Using Php , MySql and JavaScript

Web-Chat-App A Responsive Web Chat App Using Php , MySql and JavaScript Prerequisites XAMPP [Php Runtime Environment] click HERE To Download XAMPP Set

Luttapi 4 Jul 12, 2022
Simple blog concept with features such authentication (creating accounts, logging in) and commenting.

Simple blog concept with features such authentication (creating accounts, logging in) and commenting. Styling done with tailwindcss and inline javascript is provided by alpineJS.

null 1 Oct 26, 2021
A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!

A Fully Featured home-hosted Cloud Storage platform and Personal Assistant that Converts files, OCR's images & documents, Creates archives, Scans for viruses, Protects your server, Keeps itself up-to-date, and Runs your own AppLauncher!

Justin Grimes 178 Dec 26, 2022
Created simple login system and chat type website using mysql database along with php and html , css and javascript.

Created simple login system and chat type website using mysql database along with php and html , css and javascript.

null 1 Jan 6, 2022
Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

JehanKandy 11 Jul 13, 2022
Frontend repository of libreoupas project, mostly written in PHP and JavaScript, using Bootstrap for responsivity.

libreoupas Description libreoupas est un site Internet permettant aux étudiant de la Faculté des Sciences et Technologies de Vandoeuvre-Lès-Nancy d'av

Clément Colné 4 Jan 6, 2022
Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Thilrash Gowzul Ameen 1 Dec 15, 2021
Aplikasi Point of Sale berbasis website menggunakan PHP native, Vanila Javascript , Bootstrap 5, Datatables dan MySQL

POS adalah sebuah aplikasi point of sale berbasis website yang dibangun menggunakan tech stack JS - PHP - MySQL.

Oka R. Abdillah 2 Feb 12, 2022
This is Fully Working Net Banking Project Developed in PHP, HTML, JavaScript, CSS

Net Banking Project in PHP In this project i have develop real world net-banking project. This project is a best simulator for banking learners Featur

null 0 Feb 19, 2022
Book Store Website Design Using PHP, JavaScript, CSS

Book_Store_Website Book Store Website Design Using PHP, JavaScript, CSS PHPMyAdmin Tables SELECT id, name, email, password, user_type FROM users WHERE

Sashen Jayathilaka 22 Dec 21, 2022
Laravel 8, Javascript, ajax

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 1 Sep 25, 2022
QuidPHP/Navigation contains a JavaScript module for a website navigation without reloading.

QuidPHP/Navigation contains a JavaScript module for a website navigation without reloading.

QuidPHP 2 Jul 2, 2022
Laravel live chat pusher js, bootstrap, javascript, jquery

Documentation First of all install a laravel project. Then install a authentication system like, auth, breze, Jetstream etc. Then you need a model, Ca

Ariful Sikder 13 Nov 22, 2022
A simple wrapper for PHP Intervention Library to provide a more simple interface and convenient way to convert images to webp

This package is a simple wrapper for PHP Intervention Library to provide a more simple interface and convenient way to convert images to webp - next generation format - extension, and resize them to render only needed sizes.

eyad hamza 18 Jun 28, 2022
Online All in One PHP Video & Audio Downloader From YouTube,Facebook,Twitter,Pinterest,Instagram,MXtakatak,IPL, Tiktok and 1000+ More Sites too

DLhut Contact me If You Find ANy Bug ... PHP Search and Download any Videos from any site. Online All in One Video & Audio Downloader From YouTube,Fac

Vijay Kumar 4 Nov 8, 2021
Online All in One Video & Audio Downloader From YouTube,Facebook,Twitter,Pinterest,Instagram,MXtakatak,IPL, Tiktok and 1000+ More Sites too

DLhut Contact me If You Find ANy Bug ... PHP Search and Download any Videos from any site. Online All in One Video & Audio Downloader From YouTube,Fac

Vijay Kumar 6 Oct 11, 2021