PDA

View Full Version : you tried to come between me and $variable but you failed -- lisa_bot chat



m0nde
01-05-2020, 04:39 PM
a space for technical discussion of the building of a bot that posts in the style of Lisa McBushpawg

m0nde
01-05-2020, 04:42 PM
part one:

the login, starting chat


br.open("http://www.rubycalabwr.com/forums/login.php?do=login")

br["vb_login_username"] = "bushpawg"
br["vb_login_password"] = "P@th3th1c"

Artie
01-05-2020, 04:47 PM
Can I help?

m0nde
01-05-2020, 04:48 PM
part 0

the py header:



import os
import sys
import random
import mechanize
import time
import string


# Mechanize browser and set user agent
br = mechanize.Browser()
br.set_handle_robots(False)
br.addheaders = [('user-agent', ' Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3'),
('accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8')]

m0nde
01-05-2020, 04:49 PM
Can I help?

ya, create an array I can use for responses, pls. this is in python

m0nde
01-05-2020, 05:40 PM
part 1.5

login func:


def login():
print "[+]Logging in."

try:
br.open("http://www.rubycalaber.com/forums/login.php?do=login")
except Exception as e:
print "\nCould not open target URL, please reference the error message below: "
print
print e

Wendy <3
01-05-2020, 06:00 PM
Don't you need just 4 lines since that's all she ever says

m0nde
01-05-2020, 06:17 PM
Don't you need just 4 lines since that's all she ever says

no

juji
01-05-2020, 07:52 PM
Pythong fucking sucks, you should use node.js which is more active and mantained

In that case, I made a simple example

https://untitled-tmq8389c4l30.runkit.sh


If you type / with name after of url like that https://untitled-tmq8389c4l30.runkit.sh/m0nde

Try with Lisa name

root ghost
01-05-2020, 07:54 PM
get on messenger bot

juji
01-06-2020, 03:02 AM
https://i.imgur.com/UgQMBqQ.png

I was trolled

timmy
01-06-2020, 04:37 AM
out of curiosity i have been looking at programming job adverts and almost every time they want you proficient in 2, 3, 4, some times 5 different programs..

what is the deal with that?
do you have to spend a lot of time learning a shit tonne of languages (plus get work experience) just to make it to interview?
kind of seems excessive to want one guy write in a hand full of languages, are programmers just too costly so they want to get the best bang for buck humanly possible?
isnt that unreasonably causing them to have a lot less suitable candidates

Battery Bits
01-06-2020, 04:40 AM
Spath

juji
01-06-2020, 05:28 AM
out of curiosity i have been looking at programming job adverts and almost every time they want you proficient in 2, 3, 4, some times 5 different programs..

what is the deal with that?
do you have to spend a lot of time learning a shit tonne of languages (plus get work experience) just to make it to interview?
kind of seems excessive to want one guy write in a hand full of languages, are programmers just too costly so they want to get the best bang for buck humanly possible?
isnt that unreasonably causing them to have a lot less suitable candidates


I do not believe these questions are related to interview, you are supposed to understand how programming works, especially C as fundament of programming. When they ask you with an user-story, "I want to save list videos of porn that I will watch these videos later and I don't want to be registered" then this idea you're supposed to write this in any language and anywhere so no limits, preferably on browser.