a web shell could be programmed in any language that the target server supports. web shells are most commonly written in php due to the widespread use of php, however, active server pages, asp.net, python, perl, ruby and unix shell scripts are also used, although not as common because it is not very common for web servers to support these languages.