Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: nmap
Post: RE: nmap

Larz60+ you are right, i corrected the line 15 & 17. here is the attributeError. thanks for you help. Error:Exception has occurred: AttributeError 'Values' object has no attribute 'tgtHost' ...
sagpal Networking 2 2,489 Jun-04-2020, 05:20 PM
    Thread: nmap
Post: nmap

hi, can someone help me with this error. import nmap import optparse def nampScan(tgtHost, tgtPort): nmScan = nmap.PortScanner() nmScan.scan(tgtHost, tgtPort) state = nmScan[tgtPort]['...
sagpal Networking 2 2,489 Jun-04-2020, 04:32 PM
    Thread: invalid keyword arguments error
Post: RE: invalid keyword arguments error

thanks. Now I am getting typeError in the output. import optparse import socket from socket import * def connScan(tgtHost, tgtPort): try: connSkt = socket(AF_INET, SOCK_STREAM) ...
sagpal General Coding Help 3 2,413 Jun-04-2020, 03:16 PM
    Thread: invalid keyword arguments error
Post: invalid keyword arguments error

Hi, can anyone help me with this. import optparse import socket from socket import * def connScan(tgtHost, tgtPort): try: connSkt = socket(AF_INET, SOCK_STREAM) connSkt.conne...
sagpal General Coding Help 3 2,413 Jun-03-2020, 08:58 PM
    Thread: zipfile
Post: RE: zipfile

thank you.
sagpal General Coding Help 2 2,237 Jun-03-2020, 08:35 PM
    Thread: zipfile
Post: zipfile

i am getting error "expected bytes, got str" here is the python code: ---------------------- import zipfile zFile = zipfile.ZipFile("evil.zip") passFile = open('dictionary.txt') for line in passFile....
sagpal General Coding Help 2 2,237 Jun-03-2020, 05:06 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020