Code Monkey home page Code Monkey logo

gotcha-ic's Introduction

gotcha-ic

Requirements:

Mouse Movements and Interaction Events:

Track and record mouse movements, clicks, and scrolling events using JavaScript event listeners or libraries like 'mousemove.js' or 'clicky'. Monitor touch events and gestures on mobile devices. Capture keyboard inputs, input timings, and typing patterns.

IP Address and Geolocation Information:

Obtain the user's IP address from server-side request headers using back-end programming languages such as PHP, Python, or Node.js. Use APIs like ip-api.com, IPinfo.io, or MaxMind's GeoIP2 to gather geolocation data, ISP information, and other metadata about the IP address. Identify and flag suspicious IP addresses, such as those associated with known proxies, VPNs, or Tor exit nodes.

Browser and Platform Information:

Collect information about the user's browser, platform, and other details using the JavaScript 'navigator' object or libraries like 'Platform.js' or 'UAParser.js'. Identify and flag uncommon or suspicious browser configurations or user-agent strings.

Device Fingerprinting:

Use libraries like 'FingerprintJS' or 'ClientJS' to gather device-specific information, such as screen size, browser plugins, and installed fonts, to create a unique device fingerprint. Identify and flag devices with suspicious or frequently changing fingerprints.

Request Patterns and Rate Limiting:

Implement rate limiting to prevent automated bots from making too many requests in a short period. Monitor and analyze the pattern of requests made by users, including request intervals, URLs accessed, and request headers.

Session and Behavior Analysis:

Analyze user session data, including session duration, time on page, and navigation patterns. Monitor and flag unusual behavior patterns, such as rapid form submissions, excessive page refreshes, or abnormal browsing sequences.

Integration with Third-Party Bot Detection Services:

Integrate with third-party services like Cloudflare Bot Management, or DataDome for additional layers of bot detection and mitigation.

Libraries

Mouse Movements and Interaction Events:

IP Address and Geolocation Information:

Browser and Platform Information:

Device Fingerprinting:

Request Patterns and Rate Limiting:

Session and Behavior Analysis:

Integration with Third-Party Bot Detection Services:

gotcha-ic's People

Contributors

cheersblock avatar

gotcha-ic's Issues

CORS issue while integrating with React

Issue:

While integrating blockchain with the front-end built in ReactJS, ran into a CORS issue when the blockchain APIs were called.
@dfinity/agent library was used to create instances of the canisters for interaction and calling their APIs.

Solution:

Added headers to allow cross origin requests where the api was being called in the front-end:

`const fetchOptions = {
headers: {
"Access-Control-Allow-Origin": "*",
"Content-Type": "application/json",
"X-Requested-With": "XMLHttpRequest",

},
};

const agent = new HttpAgent({
fetch: window.fetch.bind(window),
host,
options: fetchOptions,
});`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.