DakotaNelson / sneaky-creeper

Get your APT on using social media as a tool for data exfiltration.
https://strikersecurity.com/projects/sneaky-creeper-covert-data-exfiltration/
MIT License
143 stars 28 forks source link

set_channel_params Error Message Confusing #87

Closed DakotaNelson closed 8 years ago

DakotaNelson commented 8 years ago
channel = "file"
encoders = []

d = Exfil(channel, encoders)

Returns:

  File "implant.py", line 21, in setUpFeed
    feed.set_channel_params(channelParams)
  File "/home/dnelson/projects/multicat/sneaky-creeper/sneakers/exfil.py", line 40, in set_channel_params
    for k in params.keys():
AttributeError: 'str' object has no attribute 'keys'

Which is deeply unfortunate. It should be possible to specify an empty encoders list.

DakotaNelson commented 8 years ago

Whooooooooops, I completely miscategorized this.

The real issue is that d.set_channel_params("") returns the error above. Still, a useful error message would very likely improve some lives.

davinerd commented 8 years ago

this (e45d1bb) should do the trick.