Socket
Socket
Sign inDemoInstall

@cryptoscamdb/web

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptoscamdb/web - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

src/views/pages/verified.ejs

2

package.json
{
"name": "@cryptoscamdb/web",
"version": "0.1.0",
"version": "0.2.0",
"description": "Keeping track of all current cryptocurrency scams in an open-source database",

@@ -5,0 +5,0 @@ "keywords": [

@@ -142,3 +142,3 @@ import * as request from 'request';

/* Retrieve latest VirusTotal report (no API key required) */
/* Retrieve latest Urlscan report (no API key required) */
export const getURLScan = (url: string): Promise<URLScanResponse> => {

@@ -145,0 +145,0 @@ return new Promise<URLScanResponse>((resolve, reject) => {

@@ -104,2 +104,3 @@ import { version } from '../../package.json';

const urlScan = await getURLScan(hostname);
const domainurl = 'https://cryptoscamdb.org/domain/' + hostname;
let googleSafeBrowsing;

@@ -125,3 +126,4 @@ let virusTotal;

startTime,
dateFormat
dateFormat,
domainurl
});

@@ -139,3 +141,4 @@ } else if (scamEntry) {

dateFormat,
abuseReport: generateAbuseReport(scamEntry)
abuseReport: generateAbuseReport(scamEntry),
domainurl
});

@@ -152,3 +155,4 @@ } else {

addresses: [],
startTime
startTime,
domainurl
});

@@ -155,0 +159,0 @@ }

@@ -10,4 +10,5 @@ function hideEverything() {

window.addEventListener("load", function() {
$('.ui.button').click(function() {
$.getJSON("/api/check/" + encodeURIComponent($("input").val().toLowerCase().replace('http://','').replace('https://','').replace('www.','').split(/[/?#]/)[0]), function(result) {
$('.search-btn').click(function() {
console.log('button click recorded')
$.getJSON("/api/v1/check/" + encodeURIComponent($("input").val().toLowerCase().replace('http://','').replace('https://','').replace('www.','').split(/[/?#]/)[0]), function(result) {
if (result.result === 'verified') {

@@ -14,0 +15,0 @@ hideEverything();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc