Skip to content

Commit

Permalink
print options properly
Browse files Browse the repository at this point in the history
the current option is a mess:
```
Veil>: options
 [i] Veil configuration file: /etc/veil/settings.py
Linux
 [i] DISTRO: None/usr/lib/go/
 [i] GOLANG_PATH: None/usr/bin
 [i] METASPLOIT_PATH: None
 [i] MSFVENOM_OPTIONS: None/usr/bin/
 [i] MSFVENOM_PATH: NoneLinux
 [i] OPERATING_SYSTEM: None/tmp/
 [i] TEMP_PATH: Noneclear
 [i] TERMINAL_CLEAR: None/usr/lib/veil
 [i] VEIL_PATH: None
```

this patch fixes it.
  • Loading branch information
blshkv authored Nov 14, 2018
1 parent 609217f commit 416f7be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common/orchestra.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def options_veil(self):
print( " [i] Veil configuration file: /etc/veil/settings.py" )
for i in dir(settings):
if i.startswith('_'): continue
print( " [i] {0}: {1}".format( i , exec( "print ( settings." + i + " )" ) ), end='', flush=True)
print( " [i] {0}: {1}".format( i , eval( 'settings.' + str(i) )))
input( '\n\nOptions shown. Press enter to continue' )
return

Expand Down Expand Up @@ -238,4 +238,4 @@ def config_veil(self):
else:
os.system('cd ./config/; ./update-config.py')
input('\n\nVeil has reconfigured, press enter to continue')
return
return

0 comments on commit 416f7be

Please sign in to comment.