| skipped 117 lines |
118 | 118 | | # |
119 | 119 | | def runMalware(settings): |
120 | 120 | | try: |
121 | | - | cd0 = RandomTmp() |
122 | 121 | | cd = RandomTmp() |
123 | 122 | | cd2 = RandomTmp() |
124 | 123 | | buffer0 = cd.createFilename()[1] |
| skipped 16 lines |
141 | 140 | | del rb_list |
142 | 141 | | os.remove(settings.JPG_NAME) |
143 | 142 | | time.sleep(settings.WAIT_TIME) |
144 | | - | cd0.finish() |
145 | 143 | | # |
146 | 144 | | with open(file=buffer0, mode='wb') as wfile: |
147 | 145 | | wfile.write(payload) |
| skipped 48 lines |