- install rpdb through pip
- import rpdb; rpdb.set_trace()
- telnet 127.0.0.1 4444
Оба - атака на пользователя, в отличие от SQL Injection (атака на сервер)
- цель - заставить браузер жертв(ы) исполнить код
Оба - атака на пользователя, в отличие от SQL Injection (атака на сервер)
# connect | |
ssh centos@pubip_or_dns | |
ssh -i ~/.ssh/amazon/us-east-1 centos@pubip_or_dns | |
# add local key | |
paste ~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys | |
# filezilla | |
https://forums.aws.amazon.com/thread.jspa?messageID=741338 but interactive |
function doAsyncOnSubmit(form, asyncFn) { | |
const onSubmitFunction = async function(e) { | |
e.preventDefault() | |
form.off('submit', onSubmitFunction) | |
const doSubmit = await asyncFn() | |
if (doSubmit) { | |
form.submit() |
ecommerce + news
Solved questions: | |
- how to send email after calling function? - postgres listen, notify | |
Unsolved questions: | |
- postgresql multidispatch functions? | |
- how to upload image and save it in db? (maybe schema stitching) | |
- rails like polymorphic relations? | |
- how to make vdare like role permissions? |
make 2 example apps using mtl and effects that asks password:
export DB_NAME= | |
export DB_USER= | |
mysqldump -p -u "$DB_USER" "$DB_NAME" | gzip > "$HOME/$DB_NAME-backup-$(date +%F).sql.gz" |
bcrypt examples in ruby and php |
This is an example of using elfinder with bcrypt tokens.
It works like this:
Sorry can provide more elaborate exmaple (proprietary software)