|
@@ -17,7 +17,7 @@ class UnitTestFTPWinaXeExploit(GenericTest):
|
|
|
|
|
|
@mock.patch('ID2TLib.Utility.get_rnd_bytes', side_effect=get_bytes)
|
|
|
@mock.patch('ID2TLib.Utility.get_rnd_x86_nop', side_effect=get_x86_nop)
|
|
|
- def test_one_attacker_ftp(self):
|
|
|
+ def test_one_attacker_ftp(self, mock_get_rnd_bytes, mock_get_rnd_x86_nop):
|
|
|
self.generic_test([['FTPWinaXeExploit']], sha_one_attacker_ftp)
|
|
|
|
|
|
|