· 7 years ago · May 14, 2018, 02:44 AM
1 ┌────────────────────────────────────────────────────────────────────â”
2 │ • MobaXterm Personal Edition v9.4 • │
3 │ (X server, SSH client and network tools) │
4 │ │
5 │ ➤ Your computer drives are accessible through the /drives path │
6 │ ➤ Your DISPLAY is set to 192.168.1.245:0.0 │
7 │ ➤ When using SSH, your remote DISPLAY is automatically forwarded │
8 │ ➤ Each command status is specified by a special symbol (✔ or ✘) │
9 │ │
10 │ • Important: │
11 │ This is MobaXterm Personal Edition. The Professional edition │
12 │ allows you to customize MobaXterm for your company: you can add │
13 │ your own logo, your parameters, your welcome message and generate │
14 │ either an MSI installation package or a portable executable. │
15 │ We can also modify MobaXterm or develop the plugins you need. │
16 │ For more information: http://mobaxterm.mobatek.net/download.html │
17 └────────────────────────────────────────────────────────────────────┘
18
19[2018-05-13 22:24.52] ~
20[Owner.DESKTOP-533E6UJ] ➤ ssh root@145.249.104.132
21Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-109-generic x86_64)
22
23 * Documentation: https://help.ubuntu.com
24 * Management: https://landscape.canonical.com
25 * Support: https://ubuntu.com/advantage
26root@poal:~# cd /etc/nginx/sites-available
27root@poal:/etc/nginx/sites-available# ls
28default default.bak default.cert default.save default.save.1 default.test
29root@poal:/etc/nginx/sites-available# sudo nano default
30root@poal:/etc/nginx/sites-available# sudo nginx -t
31nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
32nginx: configuration file /etc/nginx/nginx.conf test is successful
33root@poal:/etc/nginx/sites-available# service nginx restart
34root@poal:/etc/nginx/sites-available# sudo nano default
35root@poal:/etc/nginx/sites-available# service nginx restart
36root@poal:/etc/nginx/sites-available# cd ~/throat
37(app) root@poal:~/throat# ls
38app example.config.py __pycache__ stor wsgi.py
39circle.yml node_modules README.md tests
40config.py package.json requirements.txt throat.sql
41dbbackup package-lock.json scripts thumbs
42dump.rdb phuks.txt setup.cfg webpack.config.js
43(app) root@poal:~/throat# nano config.py
44(app) root@poal:~/throat# cd ..
45root@poal:~# ls
46throat throat.bak virt-sysprep-firstboot.log
47root@poal:~# ls -la
48total 144
49drwx------ 9 root root 4096 May 14 03:24 .
50drwxr-xr-x 22 root root 4096 Apr 29 16:45 ..
51-rw------- 1 root root 8707 May 13 17:46 .bash_history
52-rw-r--r-- 1 root root 3200 Apr 29 20:50 .bashrc
53drwx------ 3 root root 4096 Apr 29 20:54 .cache
54drwx------ 3 root root 4096 Apr 29 20:56 .config
55-rw------- 1 root root 1427 May 13 16:29 .mysql_history
56drwxr-xr-x 2 root root 4096 May 1 01:48 .nano
57drwxr-xr-x 4 root root 4096 Apr 29 20:57 .npm
58-rw-r--r-- 1 root root 148 Aug 17 2015 .profile
59drwxr-xr-x 14 root root 4096 Apr 29 20:54 .pyenv
60-rw-r--r-- 1 root root 13 May 5 16:43 .rediscli_history
61drwxr-xr-x 11 root root 4096 May 14 03:37 throat
62drwxr-xr-x 9 root root 4096 May 4 21:54 throat.bak
63-rw-r--r-- 1 root root 70240 Apr 29 19:10 virt-sysprep-firstboot.log
64-rw------- 1 root root 212 May 14 03:24 .Xauthority
65root@poal:~# cd pyenv
66-bash: cd: pyenv: No such file or directory
67root@poal:~# cd .pyenv
68root@poal:~/.pyenv# ls
69bin COMMANDS.md libexec plugins shims test
70cache completions LICENSE pyenv.d src versions
71CHANGELOG.md CONDUCT.md Makefile README.md terminal_output.png
72root@poal:~/.pyenv# cd versions
73root@poal:~/.pyenv/versions# ls
743.5.5 app
75root@poal:~/.pyenv/versions# cd app
76root@poal:~/.pyenv/versions/app# ls
77bin include lib lib64 pip-selfcheck.json pyvenv.cfg
78root@poal:~/.pyenv/versions/app# cd bin
79root@poal:~/.pyenv/versions/app/bin# ls
80activate cygdb flask pip3 py.test
81activate.csh cython gunicorn pip3.5 python
82activate.fish cythonize gunicorn_paster pwiz.py python3
83chardetect easy_install misaka pydoc webassets
84cssmin easy_install-3.5 pip pytest wheezy.template
85root@poal:~/.pyenv/versions/app/bin# nano peewee
86root@poal:~/.pyenv/versions/app/bin# ls -la
87total 104
88drwxr-xr-x 2 root root 4096 May 14 03:38 .
89drwxr-xr-x 5 root root 4096 May 10 02:49 ..
90-rw-r--r-- 1 root root 2150 Apr 29 20:54 activate
91-rw-r--r-- 1 root root 1266 Apr 29 20:54 activate.csh
92-rw-r--r-- 1 root root 2430 Apr 29 20:54 activate.fish
93-rwxr-xr-x 1 root root 256 Apr 29 20:55 chardetect
94-rwxr-xr-x 1 root root 408 Apr 29 20:55 cssmin
95-rwxr-xr-x 1 root root 255 Apr 29 20:55 cygdb
96-rwxr-xr-x 1 root root 276 Apr 29 20:55 cython
97-rwxr-xr-x 1 root root 256 Apr 29 20:55 cythonize
98-rwxr-xr-x 1 root root 265 Apr 29 20:54 easy_install
99-rwxr-xr-x 1 root root 265 Apr 29 20:54 easy_install-3.5
100-rwxr-xr-x 1 root root 243 Apr 29 20:55 flask
101-rwxr-xr-x 1 root root 252 Apr 29 20:55 gunicorn
102-rwxr-xr-x 1 root root 254 Apr 29 20:55 gunicorn_paster
103-rwxr-xr-x 1 root root 1964 Apr 29 20:55 misaka
104-rwxr-xr-x 1 root root 237 Apr 29 20:54 pip
105-rwxr-xr-x 1 root root 237 Apr 29 20:54 pip3
106-rwxr-xr-x 1 root root 237 Apr 29 20:54 pip3.5
107-rwxr-xr-x 1 root root 7064 Apr 29 20:55 pwiz.py
108-rwxr-xr-x 1 root root 108 Apr 29 20:54 pydoc
109-rwxr-xr-x 1 root root 240 Apr 29 20:55 pytest
110-rwxr-xr-x 1 root root 240 Apr 29 20:55 py.test
111lrwxrwxrwx 1 root root 38 Apr 29 20:54 python -> /root/.pyenv/versions/3.5.5/bin/python
112lrwxrwxrwx 1 root root 6 Apr 29 20:54 python3 -> python
113-rwxr-xr-x 1 root root 426 Apr 29 20:55 webassets
114-rwxr-xr-x 1 root root 459 Apr 29 20:56 wheezy.template
115root@poal:~/.pyenv/versions/app/bin# cd ..
116root@poal:~/.pyenv/versions/app# ls
117bin include lib lib64 pip-selfcheck.json pyvenv.cfg
118root@poal:~/.pyenv/versions/app# cd lib
119root@poal:~/.pyenv/versions/app/lib# ls
120python3.5
121root@poal:~/.pyenv/versions/app/lib# cd python3.5
122root@poal:~/.pyenv/versions/app/lib/python3.5# ls
123site-packages
124root@poal:~/.pyenv/versions/app/lib/python3.5# cd site-packages
125root@poal:~/.pyenv/versions/app/lib/python3.5/site-packages# ls
126attr
127attrs-17.4.0.dist-info
128bcrypt
129bcrypt-3.1.3.dist-info
130beautifulsoup4-4.6.0.dist-info
131bs4
132bs4-0.0.1-py3.5.egg-info
133certifi
134certifi-2018.4.16.dist-info
135cffi
136cffi-1.11.5.dist-info
137_cffi_backend.cpython-35m-x86_64-linux-gnu.so
138chardet
139chardet-3.0.4.dist-info
140click
141click-6.7.dist-info
142cssmin-0.2.0-py3.5.egg-info
143cssmin.py
144Cython
145Cython-0.28.2.dist-info
146cython.py
147dateutil
148easy_install.py
149engineio
150eventlet
151eventlet-0.22.1.dist-info
152feedgen
153feedgen-0.6.1-py3.5.egg-info
154flask
155Flask-0.11.1.dist-info
156Flask_Assets-0.12-py3.5.egg-info
157flask_assets.py
158flask_cache
159Flask_Cache-0.13.1-py3.5.egg-info
160flask_caching
161Flask_Caching-1.4.0.dist-info
162flask_login
163Flask_Login-0.4.0.dist-info
164flask_oauthlib
165Flask_OAuthlib-0.9.4-py3.5.egg-info
166flask_socketio
167Flask_SocketIO-2.8.2-py3.5.egg-info
168flask_webpack
169Flask_Webpack-0.1.0-py3.5.egg-info
170flask_wtf
171Flask_WTF-0.13.1.dist-info
172greenlet-0.4.13.dist-info
173greenlet.cpython-35m-x86_64-linux-gnu.so
174gunicorn
175gunicorn-19.8.0.dist-info
176idna
177idna-2.6.dist-info
178itsdangerous-0.24-py3.5.egg-info
179itsdangerous.py
180jinja2
181Jinja2-2.10.dist-info
182jsmin
183jsmin-2.2.2-py3.5.egg-info
184libexiv2python.cpython-35m-x86_64-linux-gnu.so
185lxml
186lxml-4.2.1.dist-info
187magic.py
188markupsafe
189MarkupSafe-1.0-py3.5.egg-info
190misaka
191misaka-2.1.0-py3.5.egg-info
192more_itertools
193more_itertools-4.1.0.dist-info
194mysqlclient-1.3.12-py3.5.egg-info
195_mysql.cpython-35m-x86_64-linux-gnu.so
196MySQLdb
197_mysql_exceptions.py
198oauthlib
199oauthlib-2.0.7.dist-info
200peewee-3.2.2-py3.5.egg-info
201peewee.py
202peewee.py.bak
203PIL
204Pillow-5.1.0.dist-info
205pip
206pip-9.0.1.dist-info
207pkg_resources
208playhouse
209pluggy
210pluggy-0.6.0.dist-info
211pwiz.py
212py
213py-1.5.3.dist-info
214py3exiv2-0.2.1-py3.5.egg-info
215__pycache__
216pycparser
217pycparser-2.18-py3.5.egg-info
218pyexiv2
219_pytest
220pytest-3.5.1.dist-info
221pytest.py
222python_dateutil-2.7.2.dist-info
223python_engineio-2.1.0.dist-info
224python_http_client
225python_http_client-3.0.0.dist-info
226python_magic-0.4.15.dist-info
227python_socketio-1.9.0.dist-info
228pyximport
229redis
230redis-2.10.6.dist-info
231requests
232requests-2.18.4.dist-info
233requests_oauthlib
234requests_oauthlib-0.8.0.dist-info
235sendgrid
236sendgrid-5.3.0.dist-info
237setuptools
238setuptools-28.8.0.dist-info
239six-1.11.0.dist-info
240six.py
241socketio
242test
243tinycss2
244tinycss2-0.6.1.dist-info
245urllib3
246urllib3-1.22.dist-info
247webassets
248webassets-0.12.1-py3.5.egg-info
249webencodings
250webencodings-0.5.1.dist-info
251werkzeug
252Werkzeug-0.14.1.dist-info
253wheezy
254wheezy.html-0.1.147-py3.5.egg-info
255wheezy.html-0.1.147-py3.5-nspkg.pth
256wheezy.template-0.1.167-py3.5.egg-info
257wheezy.template-0.1.167-py3.5-nspkg.pth
258wtforms
259WTForms-2.1-py3.5.egg-info
260root@poal:~/.pyenv/versions/app/lib/python3.5/site-packages# nano peewee
261root@poal:~/.pyenv/versions/app/lib/python3.5/site-packages# nano peewee.py
262root@poal:~/.pyenv/versions/app/lib/python3.5/site-packages# cp peewee.py ~/peewee.py
263root@poal:~/.pyenv/versions/app/lib/python3.5/site-packages# cd ~/
264root@poal:~# cd thorat
265-bash: cd: thorat: No such file or directory
266root@poal:~# cd throat
267(app) root@poal:~/throat# nano config.py
268 GNU nano 2.5.3 File: config.py
269
270""" This is the config file. Pretty obvious, right? """
271import os
272# Site title
273LEMA = "Throat: Open discussion ;D"
274COPY = "2016 Throat. All Rights Reserved."
275
276# XXX: LEGACY - FIX EVERYTHING AND REMOVE THIS BLOCK
277DB_HOST = 'localhost'
278DB_USER = os.getenv('DB_USER') or 'root'
279DB_PASSWD = os.getenv('DB_PASSWD') or 'qr166jm87'
280DB_NAME = os.getenv('DB_NAME') or 'phuks'
281
282# peewee
283DATABASE_URL = 'mysql://{0}:{1}@localhost/{2}'.format(DB_USER, DB_PASSWD, DB_NA$
284
285# Method used to memoize stuff.
286CACHE_TYPE = 'redis'
287# Only used if CACHE_TYPE is 'redis'.
288CACHE_REDIS_HOST = '127.0.0.1'
289CACHE_REDIS_PORT = 6379
290CACHE_REDIS_DB = 5
291
292# The Redis that we use for SocketIO. This must be the same for all instances
293SOCKETIO_REDIS_URL = 'redis://127.0.0.1:6379/1'
294
295SECRET_KEY = 'yS\x1c\x88\xd7\xb5\xb0\xdc\t:kO\r\xf0D{"Y\x1f\xbc^\xad'
296
297WTF_CSRF_ENABLED = True
298WTF_CSRF_SECRET_KEY = SECRET_KEY
299
300SENDGRID_API_KEY = "put it here"
301SENDGRID_DEFAULT_FROM = "noreply@shitposting.space"
302
303RECAPTCHA_PUBLIC_KEY = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
304RECAPTCHA_PRIVATE_KEY = "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
305
306THUMBNAILS = "./thumbs"
307THUMBNAIL_HOST = "/static/thumbs/"
308
309STORAGE = "./stor"
310STORAGE_HOST = "/static/stor/"
311
312
313# SID of changelog sub
314CHANGELOG_SUB = '9a79b49e-7bd3-4535-8ad6-ba11fc1d0ef5'
315
316# Only for debugging and testing:
317DEBUG = True
318TESTING = True # This makes all the captchas valid
319
320 [ Read 54 lines ]
321^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
322^X Exit ^R Read File ^\ Replace ^U Uncut Text^T To Linter ^_ Go To Line