Skip to content

Commit

Permalink
Twitter, Reddit, and Discord Covert Channels are Working
Browse files Browse the repository at this point in the history
  • Loading branch information
gracelombardi committed Nov 13, 2022
1 parent 4a85c5f commit f794a6c
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 45 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,6 @@ the script moves onto the next letter in the message until it finishes them all.
This script first authenticates with Twitter and retrieves all bookmarks. Each bookmark is then looped through to add
the first word of the tweet to a list. Those words are then converted to letters by using the military alphabet. These
letters are then joined and reversed to reveal the hidden message.
## Facebook

### Authentication
For the Facebook covert channels a facebook_config.py file is needed that contains the following:

```python
```

### Binary Covert Channel
#### Encode
#### Decode
### Plaintext Covert Channel
#### Encode
#### Decode

## Reddit

Expand Down
2 changes: 0 additions & 2 deletions discord_encode_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ async def on_message(message):
async for message in messages:
binary_number = binary[ind_num]
if binary_number == '0':
print('dislike')
await message.add_reaction('👎')
if binary_number == '1':
print('like')
await message.add_reaction('👍')
ind_num += 1

Expand Down
Empty file removed facebook_decode_binary.py
Empty file.
Empty file removed facebook_decode_plaintext.py
Empty file.
27 changes: 0 additions & 27 deletions facebook_encode_binary.py

This file was deleted.

Empty file removed facebook_encode_plaintext.py
Empty file.
2 changes: 1 addition & 1 deletion twitter_decode_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Twitter Covert Channel
Decode Binary
"""
import tweepy
import re
import tweepy

import twitter_config

Expand Down
2 changes: 1 addition & 1 deletion twitter_encode_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def main():
message = get_message_input()
binary = convert_to_binary(message)
list_ids = []
if len(response.data) < len(message):
if len(response.data) < (len(message) * 8):
print("There are not enough tweets on this account to send the message. Please try a "
"different user account.")
else:
Expand Down

0 comments on commit f794a6c

Please sign in to comment.