Re: Attempt to index a nil value (local response)
Daniel Miller <[email protected]>
| Newsgroups | gmane.comp.security.nmap.devel |
|---|---|
| Message-ID | <CABmvJnO-arciKRxDghGJ_VnJ6eCFeSsQ+W8Wemi30PVWyjZ71g@mail.gmail.com> |
Alo, You are using an outdated version of Nmap, so I can't be sure exactly what is going on. But in the current version, the connect and login functions must return both a status and a response object. If the status is false, the response object is checked (indexed) to determine what to do: slow down, try again, etc. Check the documentation on the brute library to see if there is anything you need to change: https://nmap.org/nsedoc/lib/brute.html Dan On Wed, Nov 8, 2017 at 7:02 AM, Alo Yommist <[email protected]> wrote: > I kept getting this error in my script I don't know why but it's seems to > be complaining about some local response variable in my brute.lua library. > I don't know why the response value is nil. Here is the debug from my > script... > > | HTTP/1.1 > 200 OK > Cache-Control: private > Content-Type: application/json > Server: Microsoft-IIS/8.5 > X-AspNet-Version: 4.0.30319 > X-Frame-Options: SAMEORIGIN > Content-Security-Policy: frame-ancestors 'self'; > Connection: close > Content-Length: 192 > > jQuery191014485234646236567_1375786963488( {"Fault":{"Code":{"Value":{" > Name":"SenderFault"},"Subcode":{"Value":{"Name":" > AuthenticationException"}}},"Reason":["Invalid email or password."]}} ); > NSE: TCP 192.168.103.80:45091 > 208.83.240.82:443 | CLOSE > NSOCK INFO [11.8250s] nsock_iod_delete(): nsock_iod_delete (IOD #3) > NSE: spmcourotine against api.peoplemedia.com (208.83.240.82:443) threw > an error! > /sdcard/opt/nmap-7.31/share/nmap/nselib/brute.lua:541: attempt to index a > nil value (local 'response') > stack traceback: > /sdcard/opt/nmap-7.31/share/nmap/nselib/brute.lua:541: in > function </sdcard/opt/nmap-7.31/share/nmap/nselib/brute.lua:528> > > _______________________________________________ > Sent through the dev mailing list > https://nmap.org/mailman/listinfo/dev > Archived at http://seclists.org/nmap-dev/ > _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/