Skip to content

Commit aaccfe6

Browse files
committed
refresh repo
refresh repo
1 parent aaff55a commit aaccfe6

35 files changed

Lines changed: 2231 additions & 0 deletions

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/riotpot.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

C_/AAU_NetSec/riotpot/logger/honey-telnet.log

Whitespace-only changes.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# riotpot
2+
Resilient IoT Hoeypot

bin/riotpot

7.86 MB
Binary file not shown.

bin/riotpot.exe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ELF

cmd/riotpot/riotpot.go

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"github.com/sastry17/riotpot/internal/emulator/httpd"
6+
"github.com/sastry17/riotpot/internal/emulator/sshd"
7+
"github.com/sastry17/riotpot/internal/emulator/telnetd"
8+
"sync"
9+
"github.com/sastry17/riotpot/external/trudy"
10+
"os"
11+
)
12+
var wg sync.WaitGroup
13+
func main() {
14+
15+
args := os.Args
16+
if args[1] == "--all" {
17+
18+
wg.Add(1)
19+
go telnet_serv()
20+
go http_serv()
21+
fmt.Println("Telnet and HTTP Server Started")
22+
go sshd.SSHServer() //Starts SSH Server
23+
fmt.Println("SSH Server Started")
24+
go start_proxy()
25+
wg.Wait()
26+
27+
}
28+
29+
}
30+
31+
func telnet_serv(){
32+
telnetd.TelnetServer() //Starts Telnet emulation
33+
}
34+
35+
func http_serv() {
36+
httpd.HttpServer() //starts HTTP Server
37+
}
38+
39+
func start_proxy() {
40+
trudy.Trudy() //start trudy proxy
41+
}

0 commit comments

Comments
 (0)