|
@@ -151,7 +151,10 @@ class UFONet(object):
|
|
|
try:
|
|
|
self.mothership_id = str(base64.b64decode(random.choice(self.mothership_ids).strip()), 'utf-8')
|
|
|
except:
|
|
|
- self.mothership_id = str(base64.b64decode(random.choice(self.mothership_ids).strip()), 'latin-1')+"\n"
|
|
|
+ try:
|
|
|
+ self.mothership_id = str(base64.b64decode(random.choice(self.mothership_ids).strip()), 'latin-1')+"\n"
|
|
|
+ except:
|
|
|
+ self.mothership_id = "l4m3r-lulz/0\n"
|
|
|
m = open(self.mothershipname, "w")
|
|
|
m.write(str(self.mothership_id.upper()))
|
|
|
m.close()
|