Skip to content

Allows user to take full control of the terminal of their computer through Facebook's messaging service.

Notifications You must be signed in to change notification settings

mmplisskin/Terminal-on-FB-Messenger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Terminal on Facebook Messenger

###TFM ver. 1.4 Allows user to take full control of the terminal of their computer through Facebook's messaging service.

Photo

##Disclamer

I shall not collect users' content or information, or otherwise access Facebook, using automated means (such as harvesting bots, robots, spiders, or scrapers) without our prior permission.

##Run To use the script to full extent, make sure that you keep it at the home directory. Run it like this :

python ~/main.py

Screenshot Enter your facebook username and password and wait till it sets up. To make sure that it has setup, your url should be 'https://facebook.com/messages/*your own username*.

To send the commands, search for your own name on the messenger and send commands to it

##Dependencies ###Selenium

pip install selenium

###Chrome How to run here

##Commands

  • show - Previews any file or a URL
  • memory - Gives The current Memory Stats of the machine
  • send - Send file at a path relative to current directory
  • help - Lists the commands that can be used
  • quit - Quit current session
  • Any other command you might normally use on your CLI.

##Updates

  • Added show command
show URL (https://www.foo.bar) /Relative FilePath 'Foo/Bar/main.py'
  • Shifted to Chrome
  • Faster Log-In
  • Added memory command, to get current memory stats of the machine
  • Added quit and help commands
help : Displays the commands which can be used
quit : quit session
  • Addded condition for proper log-in
  • Using getpass() to hide password (PR by @idoqo)
  • Support for Python 2.7 (PR by @amitt001)
  • Added support for sending files and cd. Type following commands on Messenger :
cd __dirPath
send __filePath

##Future Improvements

  • Add support for cd
  • Send files
  • Switch to PhantomJS
  • Error Logs
  • Running in backgroud thread
  • Fix all the bugs

##License Apache-2.0

About

Allows user to take full control of the terminal of their computer through Facebook's messaging service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%