telekom-security / tpotce

🍯 T-Pot - The All In One Multi Honeypot Platform 🐝
GNU General Public License v3.0
6.8k stars 1.08k forks source link

Error wetty in T-pot-autoinstall #151

Closed david-morenomoreno closed 6 years ago

david-morenomoreno commented 6 years ago

Hello. I'm trying to install T-pot with t-pot-autoinstall option STANDARD INSTALLATION. All is perfect except WebTTy, It doesnt't appear. The log referent to wetty instalation is:


npm WARN deprecated connect@2.14.1: connect 2.x series is deprecated
npm WARN deprecated static-favicon@1.0.0: use serve-favicon module
/usr/local/bin/wetty -> /usr/local/lib/node_modules/wetty/bin/wetty.js

> pty.js@0.3.1 install /usr/local/lib/node_modules/wetty/node_modules/pty.js
> node-gyp rebuild

make: Entering directory '/usr/local/lib/node_modules/wetty/node_modules/pty.js/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
../src/unix/pty.cc: In function β€˜Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:222:34: warning: ignoring return value of β€˜int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
       if (strlen(cwd)) chdir(cwd);
                                  ^
  SOLINK_MODULE(target) Release/obj.target/pty.node
  COPY Release/pty.node
make: Leaving directory '/usr/local/lib/node_modules/wetty/node_modules/pty.js/build'
/usr/local/lib
└─┬ wetty@0.2.0  (git+https://github.com/t3chn0m4g3/wetty.git#daf65eaf09a1f99d3a2a1a7673d39f1843dc4c1d)
  β”œβ”€β”¬ express@3.5.1 
  β”‚ β”œβ”€β”€ buffer-crc32@0.2.1 
  β”‚ β”œβ”€β”¬ commander@1.3.2 
  β”‚ β”‚ └── keypress@0.1.0 
  β”‚ β”œβ”€β”¬ connect@2.14.1 
  β”‚ β”‚ β”œβ”€β”€ basic-auth-connect@1.0.0 
  β”‚ β”‚ β”œβ”€β”€ bytes@0.2.1 
  β”‚ β”‚ β”œβ”€β”¬ compression@1.0.0 
  β”‚ β”‚ β”‚ β”œβ”€β”€ compressible@1.0.0 
  β”‚ β”‚ β”‚ └── negotiator@0.3.0 
  β”‚ β”‚ β”œβ”€β”€ connect-timeout@1.0.0 
  β”‚ β”‚ β”œβ”€β”¬ cookie-parser@1.0.1 
  β”‚ β”‚ β”‚ └── cookie@0.1.0 
  β”‚ β”‚ β”œβ”€β”¬ csurf@1.0.0 
  β”‚ β”‚ β”‚ └── uid2@0.0.3 
  β”‚ β”‚ β”œβ”€β”€ errorhandler@1.0.0 
  β”‚ β”‚ β”œβ”€β”¬ express-session@1.0.2 
  β”‚ β”‚ β”‚ β”œβ”€β”€ cookie@0.1.0 
  β”‚ β”‚ β”‚ β”œβ”€β”€ debug@0.7.4 
  β”‚ β”‚ β”‚ └── utils-merge@1.0.0 
  β”‚ β”‚ β”œβ”€β”€ method-override@1.0.0 
  β”‚ β”‚ β”œβ”€β”€ morgan@1.0.0 
  β”‚ β”‚ β”œβ”€β”¬ multiparty@2.2.0 
  β”‚ β”‚ β”‚ β”œβ”€β”¬ readable-stream@1.1.14 
  β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ core-util-is@1.0.2 
  β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ inherits@2.0.3 
  β”‚ β”‚ β”‚ β”‚ └── string_decoder@0.10.31 
  β”‚ β”‚ β”‚ └── stream-counter@0.2.0 
  β”‚ β”‚ β”œβ”€β”€ pause@0.0.1 
  β”‚ β”‚ β”œβ”€β”€ qs@0.6.6 
  β”‚ β”‚ β”œβ”€β”€ raw-body@1.1.3 
  β”‚ β”‚ β”œβ”€β”€ response-time@1.0.0 
  β”‚ β”‚ β”œβ”€β”¬ serve-index@1.0.1 
  β”‚ β”‚ β”‚ β”œβ”€β”€ batch@0.5.0 
  β”‚ β”‚ β”‚ └── negotiator@0.4.2 
  β”‚ β”‚ β”œβ”€β”€ serve-static@1.0.2 
  β”‚ β”‚ β”œβ”€β”€ static-favicon@1.0.0 
  β”‚ β”‚ └── vhost@1.0.0 
  β”‚ β”œβ”€β”€ cookie@0.1.1 
  β”‚ β”œβ”€β”€ cookie-signature@1.0.3 
  β”‚ β”œβ”€β”€ debug@0.8.1 
  β”‚ β”œβ”€β”€ fresh@0.2.2 
  β”‚ β”œβ”€β”€ merge-descriptors@0.0.2 
  β”‚ β”œβ”€β”€ methods@0.1.0 
  β”‚ β”œβ”€β”€ mkdirp@0.3.5 
  β”‚ β”œβ”€β”€ range-parser@1.0.0 
  β”‚ └─┬ send@0.2.0 
  β”‚   └── mime@1.2.11 
  β”œβ”€β”¬ optimist@0.6.1 
  β”‚ β”œβ”€β”€ minimist@0.0.10 
  β”‚ └── wordwrap@0.0.3 
  β”œβ”€β”¬ pty.js@0.3.1 
  β”‚ β”œβ”€β”€ extend@1.2.1 
  β”‚ └── nan@2.3.5 
  └─┬ socket.io@1.7.4 
    β”œβ”€β”¬ debug@2.3.3 
    β”‚ └── ms@0.7.2 
    β”œβ”€β”¬ engine.io@1.8.4 
    β”‚ β”œβ”€β”¬ accepts@1.3.3 
    β”‚ β”‚ β”œβ”€β”¬ mime-types@2.1.17 
    β”‚ β”‚ β”‚ └── mime-db@1.30.0 
    β”‚ β”‚ └── negotiator@0.6.1 
    β”‚ β”œβ”€β”€ base64id@1.0.0 
    β”‚ β”œβ”€β”€ cookie@0.3.1 
    β”‚ β”œβ”€β”€ debug@2.3.3 
    β”‚ β”œβ”€β”¬ engine.io-parser@1.3.2 
    β”‚ β”‚ β”œβ”€β”€ after@0.8.2 
    β”‚ β”‚ β”œβ”€β”€ arraybuffer.slice@0.0.6 
    β”‚ β”‚ β”œβ”€β”€ base64-arraybuffer@0.1.5 
    β”‚ β”‚ β”œβ”€β”€ blob@0.0.4 
    β”‚ β”‚ └── wtf-8@1.0.0 
    β”‚ └─┬ ws@1.1.4 
    β”‚   β”œβ”€β”€ options@0.0.6 
    β”‚   └── ultron@1.0.2 
    β”œβ”€β”¬ has-binary@0.1.7 
    β”‚ └── isarray@0.0.1 
    β”œβ”€β”€ object-assign@4.1.0 
    β”œβ”€β”¬ socket.io-adapter@0.5.0 
    β”‚ └── debug@2.3.3 
    β”œβ”€β”¬ socket.io-client@1.7.4 
    β”‚ β”œβ”€β”€ backo2@1.0.2 
    β”‚ β”œβ”€β”€ component-bind@1.0.0 
    β”‚ β”œβ”€β”€ component-emitter@1.2.1 
    β”‚ β”œβ”€β”€ debug@2.3.3 
    β”‚ β”œβ”€β”¬ engine.io-client@1.8.4 
    β”‚ β”‚ β”œβ”€β”€ component-emitter@1.2.1 
    β”‚ β”‚ β”œβ”€β”€ component-inherit@0.0.3 
    β”‚ β”‚ β”œβ”€β”€ debug@2.3.3 
    β”‚ β”‚ β”œβ”€β”€ has-cors@1.1.0 
    β”‚ β”‚ β”œβ”€β”€ parsejson@0.0.3 
    β”‚ β”‚ β”œβ”€β”€ parseqs@0.0.5 
    β”‚ β”‚ β”œβ”€β”€ ws@1.1.2 
    β”‚ β”‚ β”œβ”€β”€ xmlhttprequest-ssl@1.5.3 
    β”‚ β”‚ └── yeast@0.1.2 
    β”‚ β”œβ”€β”€ indexof@0.0.1 
    β”‚ β”œβ”€β”€ object-component@0.0.3 
    β”‚ β”œβ”€β”¬ parseuri@0.0.5 
    β”‚ β”‚ └─┬ better-assert@1.0.2 
    β”‚ β”‚   └── callsite@1.0.0 
    β”‚ └── to-array@0.1.4 
    └─┬ socket.io-parser@2.3.1 
      β”œβ”€β”€ component-emitter@1.1.2 
      β”œβ”€β”¬ debug@2.2.0 
      β”‚ └── ms@0.7.1 
      └── json3@3.3.2 

Its appear in this line:

fuECHO "### Installing wetty." [ ! -e /usr/bin/node ] && ln -s /usr/bin/nodejs /usr/bin/node npm install https://github.com/t3chn0m4g3/wetty -g

Any suggestion?

Thank you very much.

t3chn0m4g3 commented 6 years ago

@dmoreno1994 Thanks for reporting this issue, but it seems to be isolated to the autoinstaller. I just did a fresh install for T-Pot 17.10 and cannot reproduce this issue. Closing here and I will try to reproduce with the autoinstaller.