Code Monkey home page Code Monkey logo

fivem-layer7's Introduction

FiveM / RedM Blocked Layer7 Vulnerability (DDoS Attack & Get information)

The main cause of the attack is the information that FiveM gives you open to the public on the web by putting ip/players.json or ip/info.json this makes possible the vulnerability known as Layer7.

It is possible to do a denial of service in just minutes leaving it unusable the server and the machine, it can get information from the server if the attacker wants it.

That's why I would like to provide some config that you should put in your server.cfg.

When you apply these configs on your server, if you want to check that the information is blocked, do not refresh the web ip/players.json several times because it is possible that the connection to your server will be blocked for a few minutes.

You can also check in the famous CFX Finder bot to put your URL code and you will see that said information is completely blocked.

At the first connection in the URL /players.json you will have the list of users with their ping but after a refresh you will have the message Nope. If you get Nope, everything is correct.

sv_endpointprivacy true

set sv_requestParanoia 3 

sv_forceIndirectListing true

sv_useDirectListing true

I usually recommend that you put this configuration but this limits that the user does or does have to go through the discord to obtain the connect XXXXXX (Using F8 for the connect) using the FiveM URL code instead of the IP.

sv_master1 "" - Put your server on Private

sets sv_pureLevel 1 - Block Modified Clients

sv_endpointPrivacy true - Block Endpoints from IP Externals

sv_forceIndirectListing true - Block Listing

fivem-layer7's People

Contributors

itsmanueh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.