ArashLari Week 3
From LMU BioDB 2017
Contents
Hacking A Webpage
I replaced an image and edited some text on the White House website.
With Developer Tools
With No Developer Tools
The Genetic Code
curl command
curl -d "pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&submit=Submit" http://web.expasy.org/cgi-bin/translate/dna_aa
Question Response
- The page referred to a couple of stylesheets (sib.css, base.css, sib_print.css) which from what I can tell control the formatting of the webpage. The main internal server it communicates with would be http://web.expasy.org/cgi-bin/translate/dna_aa which talks to a few internal servers for each step of the translation as well, this is the part of the web app that does all the heavy lifting.
- While there are lots of identifiers throughout the html document, the one's we really used were "textarea name=pre_text" and "action=/cgi-bin/translate/dna_aa". However there were plenty of other identifiers like anything with "sib" in the title, or the "select name=code" and "select name=output" which control the kind of genetic code and output format respectively.