Skip to content

Commit fcc67de

Browse files
committed
Initial commit
0 parents  commit fcc67de

10 files changed

+265
-0
lines changed

.gitignore

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Python template
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*,cover
48+
.hypothesis/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
58+
# Flask stuff:
59+
instance/
60+
.webassets-cache
61+
62+
# Scrapy stuff:
63+
.scrapy
64+
65+
# Sphinx documentation
66+
docs/_build/
67+
68+
# PyBuilder
69+
target/
70+
71+
# IPython Notebook
72+
.ipynb_checkpoints
73+
74+
# pyenv
75+
.python-version
76+
77+
# celery beat schedule file
78+
celerybeat-schedule
79+
80+
# dotenv
81+
.env
82+
83+
# virtualenv
84+
venv/
85+
ENV/
86+
87+
# Spyder project settings
88+
.spyderproject
89+
90+
# Rope project settings
91+
.ropeproject
92+
### VirtualEnv template
93+
# Virtualenv
94+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
95+
[Bb]in
96+
[Ii]nclude
97+
[Ll]ib
98+
[Ll]ib64
99+
[Ll]ocal
100+
[Ss]cripts
101+
pyvenv.cfg
102+
.venv
103+
pip-selfcheck.json
104+
### JetBrains template
105+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
106+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
107+
108+
# User-specific stuff:
109+
.idea/workspace.xml
110+
.idea/tasks.xml
111+
.idea/dictionaries
112+
.idea/vcs.xml
113+
.idea/jsLibraryMappings.xml
114+
115+
# Sensitive or high-churn files:
116+
.idea/dataSources.ids
117+
.idea/dataSources.xml
118+
.idea/dataSources.local.xml
119+
.idea/sqlDataSources.xml
120+
.idea/dynamic.xml
121+
.idea/uiDesigner.xml
122+
123+
# Gradle:
124+
.idea/gradle.xml
125+
.idea/libraries
126+
127+
# Mongo Explorer plugin:
128+
.idea/mongoSettings.xml
129+
130+
## File-based project format:
131+
*.iws
132+
133+
## Plugin-specific files:
134+
135+
# IntelliJ
136+
/out/
137+
138+
# mpeltonen/sbt-idea plugin
139+
.idea_modules/
140+
141+
# JIRA plugin
142+
atlassian-ide-plugin.xml
143+
144+
# Crashlytics plugin (for Android Studio and IntelliJ)
145+
com_crashlytics_export_strings.xml
146+
crashlytics.properties
147+
crashlytics-build.properties
148+
fabric.properties

.idea/RateQueryAPI.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM ubuntu:latest
2+
MAINTAINER Valeriy Osipov <[email protected]>
3+
4+
RUN apt-get update && apt-get -y install xinetd telnetd
5+
6+
RUN echo 'root:root' | chpasswd
7+
8+
COPY telnet /etc/xinetd.d/
9+
10+
RUN echo "pts/0" >> /etc/securetty
11+
RUN echo "pts/1" >> /etc/securetty
12+
RUN echo "pts/2" >> /etc/securetty
13+
RUN echo "pts/3" >> /etc/securetty
14+
RUN echo "pts/4" >> /etc/securetty
15+
RUN echo "pts/5" >> /etc/securetty
16+
RUN echo "pts/6" >> /etc/securetty
17+
RUN echo "pts/7" >> /etc/securetty
18+
RUN echo "pts/8" >> /etc/securetty
19+
RUN echo "pts/9" >> /etc/securetty
20+
21+
ENTRYPOINT service xinetd restart && bash
22+
23+
EXPOSE 23

Requirement.pptx

39.4 KB
Binary file not shown.

telnet

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# default: on
2+
# description: The telnet server serves telnet sessions; it uses
3+
# unencrypted username/password pairs for authentication.
4+
service telnet
5+
{
6+
disable = no
7+
flags = REUSE
8+
socket_type = stream
9+
wait = no
10+
user = root
11+
server = /usr/sbin/in.telnetd
12+
log_on_failure += USERID
13+
}

0 commit comments

Comments
 (0)